- 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:59 AM
Are you trying to say that I have to write one more onchange client script in which I will use item.show()
if yes then I have tried this but it din't worked

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-01-2015 01:02 AM
This will be only one client script with if and else condition and yes item.show(); should work. I've tested on my instance and it is working fine.
Please replicate this on demo instance and point me to the instance if you are still blocked so that I can help you out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2024 10:02 PM
This link does not work anymore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-14-2024 11:05 PM
Please share your solution, I am facing the same issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-01-2015 01:12 AM
Thanks Pradeep,
I got it.
Its a great help!!