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 Form Fields - Drop Down - Start Blank

  1. Okay,

    My old form using Machforms has dropdowns that are required that start blank, and then require a selection (http://www.hometownnorthwest.com/apply/mortgage-quick-quote/) but my new Gravity Form (http://www.hometownnorthwest.com/apply/mortgage-quick-quote-test/) doesn't seem to be able to be configured like this.

    Can I do this? Thanks!

    Posted 13 years ago on Wednesday November 24, 2010 | Permalink
  2. Of course my styles are all messed up, sorry about that. Any insight on how to fix that would be appreciated as well!

    Posted 13 years ago on Wednesday November 24, 2010 | Permalink
  3. Which version are you using? The Beta has the option to set a default text. Not sure about having it blank though.

    Posted 13 years ago on Wednesday November 24, 2010 | Permalink
  4. If this is a standard drop down field you can set the first item in the drop down so that it is blank. Then make the field required. This will require them to select a value, and won't validate if they leave it blank because it has no value.

    As for your style issues, this is coming from your theme. Your theme is calling this stylesheet:

    <link rel="stylesheet" type="text/css" media="screen" href="http://www.hometownnorthwest.com/wp-content/themes/corporate/assets/css/form.css" />

    And the styles in this stylesheet is using absolute positioning to position all form labels. That is the cause of your style issues. Your theme is causing the problem. Remove this stylesheet call from your theme and the form should display fine.

    Posted 13 years ago on Wednesday November 24, 2010 | Permalink
  5. Thanks!

    I just removed the stylesheet until I have time to mess with it. Took a few hours, but my form is working great now. Looks like I need to buy a developer license now :)

    Posted 13 years ago on Wednesday November 24, 2010 | Permalink