Support » Plugins » [Plugin: Contact Form 7] default value for unchecked checkbox

  • Hello everybody,

    I’m using a checkbof with Contact Form 7.
    This is the structure of the checkbox:
    [checkbox nwslttr label-first default:2 “subscribe me|yes”]

    And this is the call in the e-mail configuration:
    Subscribe [name] to newsletter: [nwslttr]

    If [name] has checked the checkbox, e-mail text result:
    Subscribe John to newsletter: yes
    but, if checkbox is not checked, text results:
    Subscribe John to newsletter: [nwslttr]

    Is there a way to define a default value (for example “no”) for a checkbox not checked?

    thanks in advance

Viewing 1 replies (of 1 total)
  • pardon,
    the checkbox structure has default:1

    [checkbox nwslttr label-first default:1 “subscribe me|yes”]

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Contact Form 7] default value for unchecked checkbox’ is closed to new replies.