Forums

Fast Secure Contact Form
Checkbox made Required field not working (8 posts)

  1. Roger Huston
    Member
    Posted 3 months ago #

    Hello,

    I have made a special "I accept the terms" checkbox and made it a required field. However, no matter if you click the box or not, I get an error saying "At least one item in this field is required."

    When I uncheck the required box and only uncheck the required box I get an error: Error: A checkbox field is not configured properly in settings.

    How do I fix? I cannot find docs on how to properly configure a checkbox.

    Roger

    http://www.gridspeak.com/trial

    http://wordpress.org/extend/plugins/si-contact-form/

  2. Roger Huston
    Member
    Posted 3 months ago #

    I have tried several different options, I think this has to be a bug. If I just use it with a simple label and checkbox it doesn't work. Same as above. If I check required, I get "At least one item in this field is required" and if I uncheck the required box I get the ERROR "Error: A checkbox field is not configured properly in settings."

    I can't find any instructions on how to properly configure a checkbox. Are there some? What I am missing?

    - Roger

  3. Roger Huston
    Member
    Posted 3 months ago #

    Hello,

    I think I figured it out. For some reason the Label field does not support HTML. So I can't do a checkbox with everything inline.

    Strange, but I guess it has to be that way.

    - Roger

  4. Roger Huston
    Member
    Posted 3 months ago #

    Hello,

    I take that back. There is a bug. I spent half the day on this. The problem is not putting HTML code in the label field, it is a COMMA in plain text in the label field.

    If the form can't take simple characters, then shouldn't it HTML encode before being put on the page? Or at least a warning?

    - Roger

  5. Mike Challis
    Member
    Posted 3 months ago #

    If you use a label with a comma, you must escape it with a slash before the comma

  6. Roger Huston
    Member
    Posted 3 months ago #

    Hello Mike,

    Or do as I did and just use , in its place. It took me a long time to find this error. Do you think you could note it in the docs on the page so that people that come after me have it easier?

    - Roger

  7. Mike Challis
    Member
    Posted 3 months ago #

    It always has been noted on the help page and the instructions on the form edit page
    http://www.fastsecurecontactform.com/how-to-add-extra-fields

    FAQ
    http://www.fastsecurecontactform.com/faq

  8. Roger Huston
    Member
    Posted 3 months ago #

    Mike,

    Thank you, I have no idea how I could have missed it.

    - Roger

Reply

You must log in to post.

About this Plugin

About this Topic