The GlideForm API is exposed within client-side scripts as the variable g_form. This API provides methods for interacting with forms and fields, adding messages for the user, adding and removing options from a drop-down field, and more.
Below, we'll discuss some of the more commonly used and useful methods of the GlideForm API, and see how they can be put to use.