- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2016 04:11 AM
Hi All;
In change form we have lots of mandatory fields depends on the state/type of change. When user need to cancel the change he/she not to ask to fill the mandatory fields depends in which state he/she cancelling.
I can use g_form.setMandatory("FiledName" , false). But again I need to write code for all the mandatory fields (its around 30+) .
Is there any other way to remove/disable all the mandatory fields using single line code.
Thanks in Advance.
Balaji Prusty.
Solved! Go to Solution.
- 11,858 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2016 03:50 AM
I am not getting the Close the loop / Answered under Action....I was looking for this option.
All my previous threads are still open due to this...not sure what/whom need to contact to get this.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2016 04:14 AM
Hi Balaji,
The easiest way I know to submit a form without any mandatory checking is to use the special name 'sysverb_cancel' in 'Action name" field of your UI action. Note, you can only use the UI action name once. It effectively lets you submit the form and ignore any mandatory fields.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2017 08:46 AM
Hi Chuck,
You mentioned 'sysverb_cancel' ui action name can only be used once. Is this once for each form/table or is it once across the platform?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2017 08:48 AM
If you wanted to make it global, you would use the "Global" table and it will appear on the form like Update or Submit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2017 08:53 AM
Thanks for the swift response. I don't want to make it global. I just was wondering if I am able to use this action name on multiple forms/tables.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2017 09:00 AM
Since UI actions are tied to a table, you either make it global (and then use the condition field to indicate which table names to use it on) or you need to make one for each table.
An example of
Table: global
Condition: current.getTableName() == 'incident' || current.getTableName() == 'problem'
Allows it to appear only on the incident and problem tables.