Thread: Validate Drop Down Menu
Results 1 to 6 of 6
Jump Menu covers drop down menu Forum: HTML ForumReplies: 1
Drop down menu Forum: HTML ForumReplies: 6
How can I put a drop down menu on a picture Forum: HTML ForumReplies: 6
12-10-2003, 10:58 PM #1
Validate Drop Down Menu
How do you ensure that a selection was made from a Drop Down menu on an HTML form? I have no problem ensuring that text boxes are filled...but, I can't figure out how to test a Drop Down Menu. Thanks in advance!!!
12-10-2003, 11:03 PM #2
Validate Drop Down Menu & Table Cells
1) How can you ensure (validate) that a selection is made from a drop down menu on an HTML form? I don't have a problem ensuring that text boxes are filled, but I can't figure out how to check on Drop Down Menu Selection.
2) I have a table on my HTML form. I have it set up that I click on one cell and another cell is filled with text. How can I ensure that all cells (that must be filled this way) are filled with text?
Thanks in advance!!!!
12-11-2003, 01:54 PM #3
Presumably, if your putting the contents of cells in other cells, you might be using the innerHTML property. If so, you can validate the innerHTMl of the cells that must be filled the same way you weould fill them.
You can check the value of a dropdown using -
12-11-2003, 02:29 PM #4Originally Posted by QuietDean
12-11-2003, 10:09 PM #5Originally Posted by QuietDean
12-12-2003, 04:35 AM #6
Sure, heres a simple example.
Its more portable, as it uses 'this', but the principle is the same. Its not validating as such, just alerting us to the values. Should be easily adaptible.