Anyone who can help with uni assignment. I can't make my form to validate. I need to validate only two fields. Email and credit card number. But I suck in javascript. I was trying to make work simultaneously work two scripts. But I didn't succeed. Anyone who can help me? Any links? Maybe some of you know some good and working script? Thank you in advance. Really simple form, only for uni purposes. Form looks like this:
<form name="checkoutform1" action="" method="post">
<table>
<tr>
<td>Email:</td>
<td><input type="text" name="email" size="15" maxlenght="65" value=""/></td>
<tr>
<td>Card number:</td>
<td><input type="text" name="cardnumber" size="16" maxlenght="16" value="" /></td>
</tr>
<tr>
<td colspan="2"><input type="submit" name="submit" value="Purchase"/></td>
</tr>
</table>
</form>