gsftSubmit() Name

JoanaFernandes
Tera Contributor

Hi there!

I've come across gfstSubmit() while studying for the Client-Side UI Actions and I don't understand what does the acronym stands for. Could someone help with this?

 

Thank you!

1 ACCEPTED SOLUTION

Sid_Takali
Kilo Patron
Kilo Patron

Hi @JoanaFernandes 

gsftSubmit(String control, Object form, String action_name)

Submits a form as if the user had clicked a UI Action after checking for required fields and executing onSubmit() client scripts. Enables calling client-side code and server-side code and in a single UI action.

When to Use

  • When you need to submit a form and handle the response without navigating away from the current page.
  • When you want to perform specific server-side actions based on user inputs or selections on the form.

https://docs.servicenow.com/bundle/xanadu-application-development/page/script/useful-scripts/referen... 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1005843 

https://www.learnnowlab.com/UI-Action/ 

View solution in original post

3 REPLIES 3

Nikhil Bajaj9
Tera Sage

I don't think it has any full form - gs may be for Glide system,

 Details of this function can be found here:-

https://www.servicenow.com/community/developer-forum/what-is-gsftsubmit-s-param/m-p/1754900

Please appreciate my efforts, help and support extended to you by clicking on – “Accept as Solution”; button under my answer. It will motivate me to help others as well.
Regards,
Nikhil Bajaj

Sid_Takali
Kilo Patron
Kilo Patron

Hi @JoanaFernandes 

gsftSubmit(String control, Object form, String action_name)

Submits a form as if the user had clicked a UI Action after checking for required fields and executing onSubmit() client scripts. Enables calling client-side code and server-side code and in a single UI action.

When to Use

  • When you need to submit a form and handle the response without navigating away from the current page.
  • When you want to perform specific server-side actions based on user inputs or selections on the form.

https://docs.servicenow.com/bundle/xanadu-application-development/page/script/useful-scripts/referen... 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1005843 

https://www.learnnowlab.com/UI-Action/ 

JoanaFernandes
Tera Contributor

Thank you so much for your help!