Is it just me, or does g_form.modified not work in the Portal?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2019 10:16 AM
I'm trying to prevent a user from submitting a catalog form if no fields have changed... after they have. In this case, a user selects a CI they want to edit, and x number of fields are populated based on what CI they've chosen. If they hit submit, it'll submit and create a request even though they haven't edited any of the fields. Any ideas?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2019 11:19 AM
I think i had faced this-
This might help-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2019 07:58 AM
Thanks for the links. Some of those I came across already, but didn't really help. The unsupported client scripts doesn't seem to always list out some things whether they work or not. I tried SN guru's ('.changed').length > 0) or changes() and they both brought back different numeric values, but those numeric values never changed even when a field was edited.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2023 01:51 PM
@ctsmith - I found this very helpful and it worked for me: Service Portal - Check if user modified fields on ... - ServiceNow Community
If my answer is useful/helpful, please mark it. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2024 12:51 AM
Do you find a solution for this ?