PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Required Field Not Working

  1. I have a new form on a website that is about to go live. All of the fields are required. One drop down, however, has required selected and the asterisk appears next to the label, but if you submit without making a selection, it does not produce an error. In fact if you leave all of the fields on the form blank, this one field is the only one that does not produce an error message.

    I am running 1.6.12

    Your thoughts on how to troubleshoot...Cannot figure how this field is misbehaving if the other drop downs on the form work fine.

    Posted 5 years ago on Wednesday February 6, 2013 | Permalink
  2. I"m having the same problem!

    Posted 5 years ago on Thursday February 7, 2013 | Permalink
  3. OK...never mind. Found a dash in the drop down's value field. It was never blank. Oops....

    Posted 5 years ago on Thursday February 7, 2013 | Permalink
  4. I'm still having the same issue, but it's on ALL drop-downs, in all forms I have. Other required fields are fine--just able to submit without getting an error for required drop-downs.

    Please help!

    Posted 5 years ago on Thursday February 7, 2013 | Permalink
  5. @wiredpoet, please provide a link to your form online and please post a screenshot of the form builder where you have checked the "required" box, and show the values for the drop down as well.

    Posted 5 years ago on Thursday February 7, 2013 | Permalink
  6. @randersoniii, glad you found the problem.

    Posted 5 years ago on Thursday February 7, 2013 | Permalink
  7. Here's the link to the form:
    http://mesacountylibraries.org/services/interlibrary-loan/

    Here are screenshots of settings for each (2) of the drop-down menus that aren't working:
    http://screencast.com/t/UO6aYLh6
    http://screencast.com/t/Sz46V67LvvsS

    Posted 5 years ago on Thursday February 7, 2013 | Permalink
  8. Anyone? This problem is causing some headaches and extra work for librarians here...

    Posted 5 years ago on Friday February 8, 2013 | Permalink
  9. David Peralty
    Administrator

    Can you make the first label and value in each of the fields be blank?

    Posted 5 years ago on Friday February 8, 2013 | Permalink
  10. francky
    Member

    @wiredpoet
    I have the same problem here. It used to work but now it doesn't.

    @David Peralty
    When both are blank the "REQUIRED" thing works. But previously I could set Label as "- Select Purpose -" and leave Value blank and it used to work. Are you trying to say that we should keep on using with the empty LABEL? That's very sad news Brother!

    Posted 5 years ago on Saturday February 9, 2013 | Permalink
  11. The label can have text in it, but you need to leave the value empty for that first value to work as a placeholder and to fail validation if that default drop down choice is submitted. Be sure the "enable values" is checked for the field, and that the first drop down choice does not have a value set.

    Posted 5 years ago on Saturday February 9, 2013 | Permalink
  12. francky
    Member

    @Chris Hajer
    It still doesn't work. By saying, "Enable Values" where is that setting? Did you mean "Show Values" maybe? Is so, "Show Values" is checked too but it still doesn't work Sir!

    Posted 5 years ago on Sunday February 10, 2013 | Permalink
  13. Sorry, yes, show values. I got my terminology wrong.

    If you would like me to take a look at this, please export the form (go to Forms > Import/Export, then the top center menu item "Export Forms") and email the XML file to me at chris@rocketgenius.com - I will install it and see how it works for me and if there is anything misconfigured.

    Posted 5 years ago on Sunday February 10, 2013 | Permalink
  14. francky
    Member

    Thank you Chris.
    I just sent the form as requested above.
    I'm looking forward to hear from you soon.

    Posted 5 years ago on Monday February 11, 2013 | Permalink
  15. @franky, please see this screenshot:
    http://minus.com/lZz3RRahLX2Ho

    I installed your form on my site and left the 4 drop downs unselected. That is the result showing that the submission failed validation when I submitted without making a selection on those required fields.

    Have you already gone through the troubleshooting steps found here http://rkt.gs/testing

    Can you post a link to the page on your site where we can see the form on your server?

    Posted 5 years ago on Monday February 11, 2013 | Permalink
  16. I didn't have to have 'enable values' checked before for it to work, but I just did that, and left the value blank and and now it works. Weird. Thanks!

    Posted 5 years ago on Monday February 11, 2013 | Permalink
  17. Thanks @wiredpoet.

    Posted 5 years ago on Tuesday February 12, 2013 | Permalink
  18. francky
    Member

    @Chris
    I did the troubleshooting and realized that there was conflict with the plugin "WP-HTML-Compression"
    After disabling that plugin everything was fine. SOLVED!!

    Thank you very much. I appreciate it!

    Posted 5 years ago on Tuesday February 12, 2013 | Permalink
  19. David Peralty
    Administrator

    Glad you both figured it out. That's a strange one francky .

    Posted 5 years ago on Tuesday February 12, 2013 | Permalink

This topic has been resolved and has been closed to new replies.