Hi,
I need to know how to get a PEAR Quickform2 form to update when the contents of a select input changes so subsequent form elements can contain options relevent to whatever option in my 'category' select input is chosen.
I know I can do it by adding a 'submit' input that just reloads the form (using a jump action), and that works fine but how do I trigger the submit action from the select onchange - I tried just putting a 'onchange'=form.submit() attribute on the select but it that doesn't work, the form data gets reset.
Hope someone can help.
I need to know how to get a PEAR Quickform2 form to update when the contents of a select input changes so subsequent form elements can contain options relevent to whatever option in my 'category' select input is chosen.
I know I can do it by adding a 'submit' input that just reloads the form (using a jump action), and that works fine but how do I trigger the submit action from the select onchange - I tried just putting a 'onchange'=form.submit() attribute on the select but it that doesn't work, the form data gets reset.
Hope someone can help.