Hello
I ask what is the ‘right’ way to pass parameters in ajax event?
Is there an option to indicate that all fields must be passed or to make them all available, regardless of the new fields that could be added later, without doing it manually?
The trapping of the error related to the missing fields or Undefined could also be useful.
How can I activate an error if this happens?
I added in the form these 2 lines both in onLoad and in ajax event
in php: error_reporting = E_ALL
in sc: sc_warning = ‘on’;
but it doesn’t show me anything!
Another example :
If I run the form on onLoad:
echo "-".$x;
out error ‘Undefined variable: x’: right!
if the same code I put it in ajax event ‘onChange’ this does not appear and skip it without error message!
I activated, in application:
Script Error, SQL Error, Debug Mode, Ajax Error Output
How can I avoid this inconvenience so as not to leave out some parameters and produce serious logic errors (not processed) in the app.
Where am I wrong?
Hello everybody
Thank you
Enrico