Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

MRVS Add Row Triggers onSubmit and Bypasses Mandatory Validation — How to Prevent Auto-Submission?

NANDAKUMARS
Tera Contributor

If I click the Submit button without filling the mandatory fields, the validation error shows correctly.
But when I then try to add a row to the MRVS, the onSubmit script on the “Applies to” variable set inside the MRVS gets triggered, and the form auto-submits just by adding the MRVS row, even without pressing Submit again.

How can I prevent the MRVS Add action from triggering the main onSubmit and causing the form to submit automatically?
Please help me resolve this as soon as possible.

 

 

0 REPLIES 0