- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2014 01:03 AM
Hi SNC,
I have a UI button which refers to a certain action (example: Reject) and I want when someone clicks this UI button, that he receives a message to fill a field before anything else happens. I know I could do a UI policy where I can make the field mandatory, but if I make it mandatory I have to use a condition based on state and I don't want to do this because in this state I have another UI buttons on the form like Approve, Publish, etc.
Is there a way I can say that the field will become mandatory only when a specific button is pressed?
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2014 01:14 AM
Hi Dimitar,
You can refer to the second script in this guru link, I guess this is what you are looking for:-
http://www.servicenowguru.com/system-ui/ui-actions-system-ui/client-server-code-ui-action/
Regards,
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2014 01:29 AM
No problem..