WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] Checkboxes help needed (5 posts)

  1. cundall
    Member
    Posted 1 year ago #

    Hi,

    Everything is working perfectly apart from a check box..

    I want it to say something like:
    "please untick this box if you wish to not be be contacted in the future"

    So i put the code like please untick this box[checkbox opt_out "if"]you wish to not be be contacted in the future.

    This displays the box in the right location, though on the email form I add the code of: Opt out? [checkbox]

    Sadly if i tick the box or nor, all i get is [checkbox]

    Can anyone help me, I have a feeling i am doing something stupid...

    Thanks,
    Cundall

    http://wordpress.org/plugins/contact-form-7/

  2. darkknight187
    Member
    Posted 1 year ago #

    Try this.

    [checkbox opt_out use_label_element "if you wish to not be contacted in the future."]

  3. cundall
    Member
    Posted 1 year ago #

    Darkknight187

    thanks, but sadly this did not work :(

    Anyone with any other ideas?

  4. darkknight187
    Member
    Posted 1 year ago #

    In the email form you use the name of the object "opt_out"
    Not the type.
    In the email form put in [opt_out]

  5. cundall
    Member
    Posted 1 year ago #

    darkknight187

    Thanks very very much - it was a simply thing in the end...

    It's working now!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic