The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.28 (Linux)
|
Trouble Validating Select Boxes - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Modules / Other (https://forums.formtools.org/forumdisplay.php?fid=8) +--- Forum: Form Validation: JS + PHP (https://forums.formtools.org/forumdisplay.php?fid=18) +--- Thread: Trouble Validating Select Boxes (/showthread.php?tid=218) |
Trouble Validating Select Boxes - sebgonz - Jul 19th, 2009 Hello, I've gotten my validation to work on everything except my select boxes. I don't know what the rule is that I would need to put into my page to get it to work. Can anyone help me? Here's my form code: Code: <form action="http://www.researchride.com/register/process.php" method="post" onsubmit="return rsv.validate(this, rules)"> And here are the rules that I've set already. Code: <script type="text/javascript"> "shirt" and "events" aren't working because there IS a selected option already: "Select One". Now what I'm wondering is if I can exclude that option and have it validate the rest. I got it. All I needed to do was change Code: <option selected="selected" value="Select One">Select One</option> Code: <option selected value="">Select One</option> Don't know why I didn't think of that before. :S RE: Trouble Validating Select Boxes - Sofia45 - Oct 25th, 2021 The norms of private mentoring are bewildering than the guidelines of the association direction division. Truth be told, even their schedule is stunning. I love to visit resumeprofessionalwriters reviews source to hire a desired teacher for myself as this immense distinction aggravates the kids. This si remarkably exasperated circumstance. |