• I have a question and a (related) problem.

    I would like to have a form with a maximum number of checkboxes that can be checked. For instance, a question with 3 options, max 2 are allowed to check.

    I know about the ‘exclusive’ function. But I think that is for max. 1 checkbox. I think, because the exclusive function is not working at all.

    The code that I’m using:
    [checkbox* name use_label_element exclusive “1” “2” “3”]

    Something like this would be nice:
    [checkbox* name use_label_element exclusive:2 “1” “2” “3”]

    I’m using
    WP 3.1.3-nl_NL
    Contact Form 7, 2.4.5
    Contact Form to DB Extension, 1.8.7

    Anyone?

Viewing 1 replies (of 1 total)
  • Just in case anyone else needs this answer:

    Where you put these option tags is important. For instance, for the exclusive option to work on the checkboxes it needs to be placed right before the list of options. Same with the field name, it needs to be placed right after the type. Here is an example:
    [checkbox fruit label_first exclusive "Orange" "Apple" "Grapes"]

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Contact Form 7] Exclusive option not working’ is closed to new replies.