• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

drop down list validation

 
K Amin
Greenhorn
Posts: 8
  • 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
  • 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:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic