The CreatorCon Call for Content is officially open! Get started here.

Error "g_form is undefined" in UI Page client script

ramireddy
Mega Guru

Hi All,

I am trying to implement the functionality, "When a user clicks on a image in a UI page, its needs to display a dialog box asking for comments, On providing comments, its needs to invoke certain action." something like call back from GlideDialogWindow, not form.

To display comments page, I created another UI page and calling that UI page by using GlideDialogWindow. But in the comments page, when the user clicks on "OK" button, I am getting the error, "g_form is undefined". I can see in wiki that it's a global object.

Can you please help me here, with the solution to this issue.

I am trying an example mentioned in bottom of below page. In the client script validation method, I am getting this error.

Displaying a Custom Dialog - ServiceNow Wiki

5 REPLIES 5

that's a very custom requirement, you will get near examples only



here is one


How to fetch parameters passed through url from one UI page to another UI page and use that paramete...


-Anurag