- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2016 11:30 AM
Hi All,
I have an onSubmit client script that alert's the user when they attempt to submit/update a Change Request to a specific 'state' and they do not have a required role. This seems to be working fine, however I wanted to add some logic where if the Change Request is already in that specific state, that they are able to save/update the record. We just don't want them to be able to submit or update to that state from a previous state. Hope that makes sense. any help is appreciated. Thanks everyone!
Fred
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2016 06:51 AM
Hi Fred,
Great work!
As far as I know, disableOption() is not a method/function that comes OOB. Using g_form.removeOption() is the most common way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2016 12:20 PM
Good point.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2016 03:46 PM
Hi Veena,
Thanks for your reply. After discussing this with the business we've decided to just try and disable the state.
Fred
