Welcome! Log In Create A New Profile

Advanced

[URGENT] on change field value execute server code

Posted by Niccolò.pcs.crosspost 
Niccolò.pcs.crosspost
[URGENT] on change field value execute server code
January 14, 2009 11:31AM
hi all,
i need to execute a server code when user change content of a field.
how can i do that?
tnx for all
nico

Message forwarded from pcsoft.us.windev
Jimbo
Re: [URGENT] on change field value execute server code
January 14, 2009 11:49AM
WinDev 12 supports server side triggers. That's the way to go.
Fabrice Harari.pcs.crosspost
Re: [URGENT] on change field value execute server code
January 14, 2009 01:09PM
Hi Niccolò,

Look at the codes that are possible in the control (depends of the type
of control)... In an edit control, you ahve a section called Exit with
change (onchange), in which you can put some code... it is a BROWSER
section, so you can:
- do a executeProcess of a button (and put your code in the server
section of the button)
- Use ajaxexecute or ajaxexecuteasynchronous directly in your code

In both cases, be careful that talking to the server takes time, and if
you do that each time the user enter one character, it may quickly
become unusable

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

More information on [www.fabriceharari.com]


Niccolò wrote:
> hi all,
> i need to execute a server code when user change content of a field.
> how can i do that?
> tnx for all
> nico
>
Message forwarded from pcsoft.us.windev
Niccolò.pcs.crosspost
Re: [URGENT] on change field value execute server code
January 14, 2009 02:39PM
thank you for all
rlly useful

Message forwarded from pcsoft.us.windev
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: