Hi, I have a piece of code on Submit event of form. Inside this I wan

Hi,

I have a piece of code on Submit event of form. Inside this I want to know which button the user clicked (whether Submit or Cancel). Can someone tell me how I can check that....

OriginalPostID-98898

OriginalPostID-98898

  Discussion posts and replies are publicly visible

Parents
  • It would be better if you take advantage of the fact that you can store the value of the clicked button in a process variable, check the value in the model after the forms is submitted and loop back if necessary to the task.

    This will keep your form compatible with mobile and will prevent issues that could be introduced if you try to modify the click event handler of the button using JS.
Reply
  • It would be better if you take advantage of the fact that you can store the value of the clicked button in a process variable, check the value in the model after the forms is submitted and loop back if necessary to the task.

    This will keep your form compatible with mobile and will prevent issues that could be introduced if you try to modify the click event handler of the button using JS.
Children
No Data