How to autosave incident form when a field is filled out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2022 10:04 AM
Hi,
I am trying to automate the incident form to autosave whenever the end user fills out the "assigned to" field. I am thinking this should be an OnChange client script but I am struggling with the scripting aspect of this. Any help would be very appreciated. Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2022 10:08 AM
Hello,
You can use a glide ajax and script include and pass the change sysid to the script include from the onchange client script and update the record from the script include itself.
Please mark my answer as correct based on Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2022 10:10 AM - edited 11-29-2022 10:13 AM
Not sure that this is a good idea.
But as far as a client-side script to save the form, this will work:
g_form.save();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2022 10:13 AM
Thank you for your response. How to you script it so when the assigned to field is updated, the form is autosaved?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2022 10:14 AM