• Resolved supadigital

    (@supadigital)


    Hi

    Firstly, this is a great plugin. Thanks.

    I do however want to know if one can add multiple values (possibly comma separated?) as OR statements rather than AND.

    So basically I want to:

    Show CONDITIONAL-GROUP if FIELD-VALUE equals: X or Y or Z or A or B ie: (X,Y,Z,A,B).

    So of ANY of the above options (x OR y OR z OR a OR b) are selected, then the group will show, else if none of the above options are selected and instead another available value (example: Q), the group won’t show.

    Is this possible? If so, how?

    Thanks in advance ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    yes, you just need to repeat the rule for all values. check: https://conditional-fields-cf7.bdwm.be/and-or-not/

    Thread Starter supadigital

    (@supadigital)

    Thank you so much for this link and for the prompt assistance.

    This perfectly answers my question. Thanks.

    Might I suggest perhaps including the ability to add multiple values in the rule field… Allowing one to simply enter multiple comma-separated values in the single text-box to avoid having to create multiple OR rules.

    So, as i mentioned above, the ability to simply say:

    Show CONDITIONAL-GROUP if FIELD-VALUE equals: X,Y,Z,A,B

    Just a thought. But thanks again for a great plugin and excellent support thereof. Much appreciated.

    Plugin Author Jules Colle

    (@jules-colle)

    what you are describing is actually possible with regular expressions. But this is an advanced feature only available in conditional fields pro.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add multiple FIELD-VALUES to relevant FIELD-GROUP’ is closed to new replies.