Jump to:

10990 Posts in 2727 Topics by 1818 members

All other Modules

SilverStripe Forums » All other Modules » Userforms required dropdown

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 359 Views
  • TC81
    Avatar
    Community Member
    11 Posts

    Userforms required dropdown Link to this post

    I am trying to create a userdefined form with some fairly basic validation. There are 3 text boxes and a series of dropdown menus. I need all the fields to be required and have ticked the "required" box in the options for each. The validation works fine for the text boxes but I need to be able to set the option for the drop down so that the form can't be submitted if the first option (which is "Please select") is chosen. Is there anyway to do this? It's pretty basic validation... but I am struggling.

    359 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.