Test to see if text in text box starts with a C
I have a text box called Part_Number. If the part number starts with a "C", then I want my Validation_Qty text box be a requirement to be filled in. If there's anything else in the Part_Number box, nothing else matters. There are no requirements for any other part numbers. How would I go about dong this? Here are my 2 text boxes:
<input type="text" name="Part_Number" size="30">
<input type="text" name="Validation_Qty" size="12" validate="integer" required="no" message="You must enter a valid number in the Validation Quantity field">
Thanks.
Andy
