In Confiforms, is there a way to disable (gray out) individual checkboxes in a checkbox group, based on the value of another field?
E.g., imagine I have a checkbox group mycbgroup with checkboxes cb1, cb2, cb3, cb4, cb5.
Based on the value of another field, I want to be able to selectively gray out (say) cb2 and cb3, while leaving the others enabled.
Is there a way to use the 'Confiform Rules for Field Definition' macro (or any other macro) to change the appearance of individual checkboxes (say set the CSS to display the checkbox as gray text)?
Or alternatively, to show/hide the checkboxes individually? (I know how to show/hide the entire field, such as the entire checkbox group ... but can one show/hide individual checkboxes?)
You can hide choices in multi-value fields by using ConfiForms Rules for Field Definition macro with action set to "Apply filter"
Some docs to look at https://wiki.vertuna.com/display/CONFIFORMS/Using+filter+based+on+criteria+rule
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.