Support » Plugin: Contact Form 7 » Acceptance mandatory

  • Resolved federaldesgn

    (@federaldesign)


    Hi !

    How make the checkbox of acceptance mandatory ?

    I have tested without checking it and the email has been sent. I have almost tryed to write a star aside like [acceptance* ] … doesnt working*

    thanks a lot

Viewing 3 replies - 1 through 3 (of 3 total)
  • JoeGP

    (@joegp)

    When you add a checkbox field, there is a checkbox to make it mandatory, like with most other fields, not sure how you can miss it.

    Now if you checked it and it doesn’t work, that is a different issue. Make sure you know what the issues is first.

    And yes it adds an asterisk, for ex:
    [checkbox* checkbox-10]

    Also i think i see what your problem is, you modified the first word in the code, that NEVER gets modified, if you don’t know exactly how the plugin works then don’t write your own code.
    Click on the add checkbox button, check the mandatory field, give it a name, add you options and hit Insert.

    Your code should look more like this:
    [checkbox* Acceptance "Check if you agree"]

    allan1978

    (@allan1978)

    Hi @federaldesign

    Add:

    acceptance_as_validation: on

    in the ‘Additional Settings’ tab

    federaldesgn

    (@federaldesign)

    Great ! Thanks a lot allan1978

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Acceptance mandatory’ is closed to new replies.