choice lists - how to removeOptions from choice list options in list view.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2017 07:55 PM
I would like to know how to limit the options in the choice list visible in a list view. I have managed to do this on the form with the onload client script but this is not reflected in the list view.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2017 12:09 AM
function onCellEdit(sysIDs, table, oldValues, newValue, callback) {
var saveAndClose = true;
//Type appropriate comment here, and begin script below
var req = g_form.getReference('request', reqType);
}
function reqType(req) { if (req.u_request_type != "Change")
g_form.removeOption('state',-3);
}
callback(saveAndClose);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2017 12:17 AM
Hi Divya,
have you tried that script because it does not run.
I have tried your alert but this is via the ui interface and not the portal, so I did not believe it would work in the first instance.
I have also tried you code and still the issue persists.
Regards