WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Acceptance Yes instead of 1 (4 posts)

  1. sloga
    Member
    Posted 1 year ago #

    I'd like the email to show "Yes" instead of 1 if accepted (checked) and "No" if submitted unchecked. I used [acceptance acceptance id:acceptance "Accepted|Yes"] but this is not working.

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

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    In the first place, when the acceptance checkbox is not checked, the plugin doesn't send mail.

    Acceptance Checkbox

  3. sloga
    Member
    Posted 1 year ago #

    okay I understand about it not sending if unchecked so disregard the "No" option. I do not understand your API. Are you saying that it should be, [acceptance accept-this] ? or [acceptance accept-this |Yes]

    Having the email render "1" is not useful. I know we can assume that the user checked the box and that is the reason we receive the email but I still want the email to contain an affirmative, "Yes" I accepted the terms....

    Thanks for your help.

  4. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    It should be [acceptance accept-this]. You can ignore its value. Or, you can simply write "Yes" in the mail template as it's always Yes when you receive mail.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic