- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-01-2015 12:27 AM
I have a cancel button on problem form, the requirement is like - if a check box field on the problem form is checked then , cancel button will become disable and if I uncheck the field then cancel button will be enabled again
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-01-2015 12:30 AM
Hi Sanjeev,
You can have a OnChange client script and then based on the condition you can show or hide the button. Please refer the below thread and adjust your solution accordingly.
http://www.servicenowguru.com/scripting/client-scripts-scripting/removing-form-buttons/

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-01-2015 12:30 AM
Hi Sanjeev,
You can have a OnChange client script and then based on the condition you can show or hide the button. Please refer the below thread and adjust your solution accordingly.
http://www.servicenowguru.com/scripting/client-scripts-scripting/removing-form-buttons/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-01-2015 12:33 AM
Thanks Pradeep,
I will try and update you on this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-01-2015 12:53 AM
Hi Pradeep,
I got how to remove button if the field is checked, but now want to know how to bring it back when the field is not checked

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-01-2015 12:55 AM
Remove hide with show in the script.