Hi
I have a report having two submit buttons: one executes a JS function (in Dynamic containers) associated with the 'onclick' event and the other submit the form.
Unfortunately when clicking on the first button, the form is also submitted (after the JS had been executed). How can I prevent that?
Furthermore, similar can be asked for the different Work protocols potentially attached to a form. A submit button can start a protocol:
- from a JS function associated to its 'onclick' event
- indicated in its Work Protocol parameter
- indicated in an Input component of the form.
How can we set the protocol to choose one of these possibilities and only this one?
Thanks
I have a report having two submit buttons: one executes a JS function (in Dynamic containers) associated with the 'onclick' event and the other submit the form.
Unfortunately when clicking on the first button, the form is also submitted (after the JS had been executed). How can I prevent that?
Furthermore, similar can be asked for the different Work protocols potentially attached to a form. A submit button can start a protocol:
- from a JS function associated to its 'onclick' event
- indicated in its Work Protocol parameter
- indicated in an Input component of the form.
How can we set the protocol to choose one of these possibilities and only this one?
Thanks