Hi
I recently discovered Dynamic Containers working along with Protocol Functions and started to use them a lot. However to trigger the Protocol Function I use a submit button, calling the function from the onclick event.
Alas this submit button is also inserted in a form (via an Input button) which has its own submitting behaviour.
So when clicking on the submitting button, the protocol function AND the form are both submitted... most of the time.
And sometimes no. Only the protcol function is executed, which is what I want.
So what should I check in my protocol to prevent the form to be submitted when I trigger a protocol function?
NB: I need to have this form as it is submitted when another button is clicked on.
I recently discovered Dynamic Containers working along with Protocol Functions and started to use them a lot. However to trigger the Protocol Function I use a submit button, calling the function from the onclick event.
Alas this submit button is also inserted in a form (via an Input button) which has its own submitting behaviour.
So when clicking on the submitting button, the protocol function AND the form are both submitted... most of the time.
And sometimes no. Only the protcol function is executed, which is what I want.
So what should I check in my protocol to prevent the form to be submitted when I trigger a protocol function?
NB: I need to have this form as it is submitted when another button is clicked on.