March 2017
Beginner
358 pages
9h 51m
English
Form-based client-side scripts can submit the form (and any changes contained within it at the time) using one of two GlideForm (g_form) methods: save(), and submit().
The save() method will save the record as it exists in the form. It accepts no arguments, and returns no value. After saving, the user will be redirected back to the same form they were just viewing.
The submit() method of the client side GlideForm (g_form) object works in exactly the same way, except that it will redirect the user back to the previous page that they were on. You can control which page the user is redirected to, by using action.setRedirectUrl().
Read now
Unlock full access