nerdexam
ServiceNow

CAD · Question #177

What is the GlideForm Client-side scripting object?

The correct answer is D. g_form. The g_form object is the standard client-side API in ServiceNow used to interact with forms, allowing manipulation of fields, messages, and UI elements.

Submitted by andreas_gr· Apr 18, 2026Application User Interface

Question

What is the GlideForm Client-side scripting object?

Options

  • Ags_form
  • Bgs.form
  • Csn.form
  • Dg_form

How the community answered

(19 responses)
  • B
    5% (1)
  • C
    5% (1)
  • D
    89% (17)

Why each option

The `g_form` object is the standard client-side API in ServiceNow used to interact with forms, allowing manipulation of fields, messages, and UI elements.

Ags_form

`gs_form` is not a valid client-side scripting object in ServiceNow.

Bgs.form

`gs` refers to the `GlideSystem` object, which is a server-side API, not for client-side form interactions, and `gs.form` is not a valid construct.

Csn.form

`sn.form` is not a standard client-side scripting object for interacting with forms.

Dg_formCorrect

`g_form` is the global object available in client-side scripts (Client Scripts, UI Policies) that provides methods to get and set field values, add messages, hide/show fields, and control other aspects of the current form, representing the GlideForm API.

Concept tested: GlideForm client-side object

Source: https://docs.servicenow.com/bundle/utah-servicenow-platform/page/client-developer/api_reference/APP_CLIENT-REFERENCE/GForm.html

Topics

#Client-side scripting#GlideForm#g_form#Form customization

Community Discussion

No community discussion yet for this question.

Full CAD Practice