- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2025 10:13 PM
when i use glide ajax in script include and using client Script onsubmit on form for preventing form submission . when i click order now the form showing this in scoped application what can i do
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2025 09:16 PM
Accessible from other application scopes
- Set Accessible from: to “All application scopes”.
- This ensures that the Script Include can be called from client scripts or other components outside its own scope.
Client Callable
- Mark the Script Include as Client Callable by checking the Client Callable checkbox.
- This allows it to be invoked from client-side scripts using GlideAjax.
Extending AbstractAjaxProcessor
- The Script Include should extend AbstractAjaxProcessor to handle AJAX calls properly.
var Yourscriptinclude = Class.create();
Yourscriptinclude .prototype = Object.extendsObject(AbstractAjaxProcessor, {
myFunction: function() {
var param = this.getParameter('sysparm_name');
// Your logic here
return "Processed: " + param;
}
});
Stay awesome,
Roshnee Dash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2025 11:01 PM
I reported the issue since it affects our ability to assist the post creator.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2025 10:46 PM
Hi,
Generally you shouldn't use a GlideAjax in combination with a onSubmit client script.
The GlideAjax call happens async, meaning the call to the server will not return a value in time to prevent the submit of the form.
You should perform the GlideAjax validation with an onchange client script instead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2025 10:58 PM