Hi. There is php code (e.g. "php 1" in "setup tab") that is executed when the form is loaded. How to do that when you change the value in any of the fields, this php code would be executed again?
Forums
Re-execution of php code when changing the value of any field
Hi Igorchch,
PHP code is only executed on the server so the form would need to be submitted to run it again.
You could perhaps add JavaScript to the form to do the same thing in the user's browser???
Bob
PHP code is only executed on the server so the form would need to be submitted to run it again.
You could perhaps add JavaScript to the form to do the same thing in the user's browser???
Bob
You could use AJAX / JQuery to do it, but you'd want the PHP code in a separate event.
This topic is locked and no more replies can be posted.