try
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
Hi Techies,I have some difficulties creating a js validation,I have two form field one a drop down selet with the following items and values___________________________________________________________________________________________<body>
<form id="form" name="form" method="post" action="" onsubmit="return checkform(this);">
Requisition Type<select name="type">
<option value="">Select</option>
<option value="Petty Cash">Petty Cash</option>
<option value="Routine">Routine</option>
</select><br /><br />
<label for="petty">Amount</label>
<input type="text" name="amount" id="amount" />
<label for="button"></label><br />
<input type="submit" name="submit" id="submit" value="Submit" />
</form>_________________________________________________________________________________________I wuld like to have vlidation where by if I select petty cash I should limit the amount entered in the field named petty te to the amount of money I ask foro up to 10000if I select Routine I shuld not be limitRegards
--
Our greatest fear is not that we are inadequate,
but that we are powerful beyond measure.
It is our light, not our darkness, that frightens us.
Calvin Omari Systems Developer/Designer
http://www.facebook.com/barongo
_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Server donations spreadsheet
http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1fbjAwOUE&hl=en
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke