• Tim Berneman

    (@tberneman)


    Using your example for a radio button, I’ve tried these derivatives for a checkbox and they do not work.

    [if have_drivers_license=”Yes”]_X_[else]___[/if] Has driver’s license
    [if have_drivers_license=”True”]_X_[else]___[/if] Has driver’s license
    [if have_drivers_license=”Checked”]_X_[else]___[/if] Has driver’s license

    What is the correct syntax?

    https://www.ads-software.com/plugins/mail-conditions-for-contact-form-7/

Viewing 1 replies (of 1 total)
  • Thread Starter Tim Berneman

    (@tberneman)

    Also, how should I be setting up those fields in the form? I’ve tried different variations like:

    [checkbox have_drivers_license “I have a driver’s license”]
    [checkbox have_drivers_license “I have a driver’s license|True”]
    [checkbox have_drivers_license “I have a driver’s license|Checked”]

Viewing 1 replies (of 1 total)
  • The topic ‘How do I test checkboxes?’ is closed to new replies.