How to hide a choice option from list edit,where a business rule is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2016 11:22 PM
I am able to hide a choice option on the form using a client script,but not on list edit.
A business rule is not working in this scenario.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2016 11:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2016 11:42 PM
Hi Ramakanth,
Please have a look at this thread: Re: Hiding choice list values?
I hope this helps.Please mark correct/helpful based on impact
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2016 09:24 PM
Thanks for the responses,but its pretty simple if we use a onCellEdit client script using saveAndClose as a callback function
function onCellEdit(sysIDs, table, oldValues, newValue, callback) {
var saveAndClose = true;
//alert('testfirst');
if (newValue == '1')
{
alert('Cannot move back to Open state');
saveAndClose = false;
}
callback(saveAndClose);
}
Mark the answer as correct if its helpful