Specify order of Client Script execution

nicolemccray
Tera Expert

I have 2 onSubmit clients scripts, but they are running out of order (making pop up alerts display out of order).   How do I specify which should run first?

1 ACCEPTED SOLUTION

Slava Savitsky
Giga Sage

Why do you need two onSubmit client scripts in the first place? I would recommend merging them into one.


View solution in original post

9 REPLIES 9

BALAJI40
Mega Sage

specify the "order" in the client script. In that mention the number specify which one need to execute first.


find_real_file.png


if the field did not visible on form, go to form layout and add the field.



Slava Savitsky
Giga Sage

Why do you need two onSubmit client scripts in the first place? I would recommend merging them into one.


Merging them has resolved the issue.   Thank you!