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.

 

 

1 ACCEPTED SOLUTION

Brad Bowman
Kilo Patron
Kilo Patron

This is not typical, expected behaviour.  It sounds like you have a line in your MRVS onSubmit script that submits the parent form for some reason.

View solution in original post

3 REPLIES 3

Sarthak Kashyap
Mega Sage

Hi @NANDAKUMARS ,

 

Can you pls share your onSubmit client script


@Sarthak Kashyap wrote:

Hi @NANDAKUMARS ,

 

Can you pls share your onSubmit client script


I got the fix in my script, Thank you for your response💫

Brad Bowman
Kilo Patron
Kilo Patron

This is not typical, expected behaviour.  It sounds like you have a line in your MRVS onSubmit script that submits the parent form for some reason.