We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9995
    • 1,613 Posts
    <select class="form-item" name="how" eform="how::1">
    	<option value="No selection">-No selection-</option>
    	<option value="A">Choise A</option>
    	<option value="B">Choise B</option>
    </select>


    How can I make this field required?
    No error message and even blank option doesn't work. [ed. note: fourroses666 last edited this post 8 years, 9 months ago.]
      Evolution user, I like the back-end speed and simplicity smiley
      • 13226
      • 953 Posts
      Don't know if it will work in your scenario, but it works in mine:
      <select class="form-item" name="how" eform="how:listbox:1">
        <option value="" selected="selected" disabled="disabled">-No selection-</option>
        <option value="A">Choise A</option>
        <option value="B">Choise B</option>
      </select>

      Modified to contain your code - give it a try
        • 9995
        • 1,613 Posts
        hey thanks ium!

        Going to test that tonight smiley
          Evolution user, I like the back-end speed and simplicity smiley
          • 9995
          • 1,613 Posts
          looks like it works smiley thought it didn't but was on the end of the error message while it should be as first.

          Anyway thanks smiley
            Evolution user, I like the back-end speed and simplicity smiley