
Kindly remove my email from this mailing list. thnks, KK 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@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-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke