fareedreg Posted January 26, 2010 Share Posted January 26, 2010 how to make it numeric too. function validate_required(fldb) { var error=""; if (fldb.value==null||fldb.value==""||) { error="Please enter deposite amount"; fldb.focus(); } else { } return error; } Quote Link to comment Share on other sites More sharing options...
akitchin Posted January 26, 2010 Share Posted January 26, 2010 where's the php portion of this? as for the javascript method, google answered this for me in about 4 seconds: http://javascript.about.com/library/blnum.htm a search engine is a wonderful thing. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.