Need to save the form on click of button of UI page but going on loop

Saranya Babu1
Tera Expert

 

 

 

 

Hello All,

I have created UI page which is calling onsubmit (client script)of case.When I am click on continue button  its getting looped again and again. I have used g_form.save and gsftSubmit(gel('sysverb_update_and_stay'));

 

But still not working.Please let me know is there any way to do it.

 

 

 

 

 

 

 

 

 

 

 

 

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@Saranya Babu1 

can you explain what's your business requirement?

you are opening UI page from UI action and what's next?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hello Anukur,

 

When user submit the case it should open  pop up message with list open cases and incident and with cancel and continue creation button.If they click on continue it should save the form with whatever user have filled for creating new case.

@Saranya Babu1 

when you are calling savewindow() you are taking control again to UI action

why to use g_form.save()

Can you share complete UI action code as well?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hello Ankur,

 

I am using onsubmit client script to do the changes.