WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Fast and Secure Contact Form] Checkbox ticked by default (9 posts)

  1. sfritzsch
    Member
    Posted 3 years ago #

    Hi Mike,
    I was wondering if there is a way to make the checkbox item on the form to be checked by default? So for example, if I added an option for someone to check the box so they would receive email updates from me, I would like that option to be checked by default so if they didn't want to receive those emails from me, they have to uncheck the box. Is there an easy way to accomplish this?
    Thanks.

  2. Mike Challis
    Member
    Posted 3 years ago #

    Maybe in next version. For now you can use a yes, no radio. If yes is first it should be selected by default.

  3. Mike Challis
    Member
    Posted 3 years ago #

    The latest version can do this (default 1)

  4. ymf
    Member
    Posted 3 years ago #

    I have an opposite question: how to make the checkbox item on the form to be UNchecked by default?

    In my case, I added an item

    Label for extra form field 1: ""I have read and agree with this site's <a target="_blank" href="http://example.com/terms/">Terms and Conditions</a>""
    Field type: "checkbox"
    Default: "0"
    Required: [checked]

    The checkbox does appear on the form as expected, but it's pre-CHECKED, which defeats my goal.

    (Using WP 2.9.2 + plugin 2.6.2.)

  5. Mike Challis
    Member
    Posted 3 years ago #

    URL to your form?

    It should work. I have recently patched some code in the trunk that will be part of a soon to be 2.6.3, maybe that will fix it because it works on my test site.

    You can update to the trunk version by downloading the zip and replacing the files by FTP.
    http://downloads.wordpress.org/plugin/si-contact-form.zip

  6. ymf
    Member
    Posted 3 years ago #

    I updated per your recommendation -- didn't help. The URL (remove the whites) is doctorstr umba.com/about/contact/.

  7. Mike Challis
    Member
    Posted 3 years ago #

    I am checking ...
    OK, I will fix it.

    Mike

  8. Mike Challis
    Member
    Posted 3 years ago #

    Fixed. You can update to the trunk version by downloading the zip and replacing the files by FTP.
    http://downloads.wordpress.org/plugin/si-contact-form.zip

    or wait a few days until the next release.

  9. ymf
    Member
    Posted 3 years ago #

    Yess! It works now. Thank you very much!

    (I'm also posting a completely separate issue in a different thread.)

Topic Closed

This topic has been closed to new replies.

About this Topic