Form fields visible when click on UI actoin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2014 04:13 AM
I want the field to be visible on incident form when user click on form header button newly created. Then user enter the value for that fields and update the incident. Is it possible to create show form fields when user click button.
Thanks in advance.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2014 04:20 AM
The best way to do this is to add the field to the table and then the form. Have an onLoad script hide the field using g_form. Then create a UI Action that runs on the client that when clicked unhides the field.
Keep in mind that there is setDisplay and setVisible and they are a little different.
g_form docs
http://wiki.servicenow.com/index.php?title=GlideForm_(g_form)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2014 04:47 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2014 08:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2019 12:01 AM
This does'nt seem to work as because if I am putting the statement- action.setRedirectURL(current) in the UI action, that make the form to load and the field is geting hidden as per onload client script .