Validation happening after starting the process on button click

I have process with start form and in that form I have rule which I needs to run on button click and if that rule returns true I need to display a Error message on the page and disable the button(not allow the process to start). I tried using the rule on submit parameter to change from true to false if validation fails but it's not working. Once I set the submit, it's not changing dynamically. Also, the process is starting as soon as I click the button and then validating the rule. 

Basically, I don't want the form to submit on button click if the rule returns True. Any suggestions?

Thanks,

Varsha

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data