@Kiti
used tis and it worked, the link you sent me i great,

On Thu, Mar 25, 2010 at 1:26 PM, Kiti Chigiri <kiti.chigiri@gmail.com> wrote:
try
http://bassistance.de/jquery-plugins/jquery-plugin-validation/

On Thu, Mar 25, 2010 at 1:16 PM, Calvin Omari <calvinebarongo@gmail.com> wrote:
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 10000
if I select Routine  I shuld not be limit
 
Regards
--
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 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



--
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