How to autosave incident form when a field is filled out

Erik Stuer
Tera Guru

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!

7 REPLIES 7

Saurav11
Kilo Patron
Kilo Patron

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.

Mike_R
Kilo Patron
Kilo Patron

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();

 

Mike_R_0-1669745587300.png

 

Thank you for your response. How to you script it so when the assigned to field is updated, the form is autosaved? 

Configure your Client Script like this

Mike_R_0-1669745671916.png