This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

drop down list validation

 
K Amin
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any body give me a little example, how to validate for picking up a specific value from a dropdown list, the dropdown list is generated with some file names from a folder location. I am using client site validation for other form fields.

Thanks
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You validate a dropdown field the same as you would any other field by defining the validation in the validation.xml file. If you're using the "required" validation, you must include a null value option to indicate that the user hasn't selected anything. Example:
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic