Override UI policy action for a multiple choice field in RP.

Biso_Boby
Tera Contributor

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 

6 REPLIES 6

Right!! Is there a way to disable/readonly the 'choice' field type options using UI policies?

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.