Please Log in or Create an account to join the conversation.
You're completely replacing the options array per if case. You need to progressively add to it instead. Example as follows.But once you've entered all three cb_emaila, cb_emailb, and cb_emailc and then you delete the entry for cb_emailc, you'd expect cb_emails to show checkboxes only for Email A and Email B based on the above code. But that's not what happens. The options disappear altogether.
You can still use static options with CB Code Field and CB Query Field select fieldtypes. They will always appear first.The other thing I thought was kind of weird about this field type is I still have to have at least one static option declared. In this particular case it doesn't matter since I always want to be part of the list also, so "Account Email" is the static value that's always first in the option list and that checkbox never disappears. What am I doing wrong? Thanks in advance, Bruce
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.