- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2024 08:57 PM
I have an onSubmit Client Script that I need to perform several validation checks on if the variables changed.
How can I script:
If State changes to In Progress
I'm unable to use an onChange Client Script for this scenerio.
Help is greatly appreciated!!
Thank you,
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2024 09:07 PM
Hi,
Write the onChange client script on State field and add below code.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2024 09:07 PM
Hi,
Write the onChange client script on State field and add below code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2024 04:14 AM
I need to keep the OnSubmit Client Script, as a UI Action is affecting this.
Can you help?
Thank you

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2024 05:44 AM
Hi,
Try below code in onSubmit client script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2024 07:08 AM
Thank you! But now it redirect to the last page I was on, instead of staying on the form.
How can I fix that- I need it to Save and Stay.
Here is the code now: