Override UI policy action for a multiple choice field in RP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2024 10:49 PM
Have a Multiple choice field with Yes/No options in RP.
On Selecting location field as xyz, the above choice field option 'Yes' should be greyed out.
But there are already associated UI policies and actions running on that multiple choice field, which are hindering the client script to work when used removeOption/setDisabled in a catalog client script to grey out 'Yes' option.
Can you please suggest, what is the best approach here, and workaround?
@Sandeep Rajput @Community Alums @Satishkumar B @AnveshKumar M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2024 07:23 AM
Right!! Is there a way to disable/readonly the 'choice' field type options using UI policies?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2024 07:34 AM
You can remove an option via g_form.removeOption using client script. You can't disable a specific choice, you can only make a field read only and not a specific choice within it.