uptoome Posted December 15, 2005 Share Posted December 15, 2005 Good afternoon, each. I have made changes to create_account.php, adding additional fields that new customers must complete before creating an account. All of the form/field validation code was added to create_account.php. Then, I noticed that form_check.js.php is included in the page, but as far as I can tell, check_form() is never called. Is form_check.js.php required any longer? Link to comment Share on other sites More sharing options...
Guest Posted December 15, 2005 Share Posted December 15, 2005 Good afternoon, each. I have made changes to create_account.php, adding additional fields that new customers must complete before creating an account. All of the form/field validation code was added to create_account.php. Then, I noticed that form_check.js.php is included in the page, but as far as I can tell, check_form() is never called. Is form_check.js.php required any longer? search for: onSubmit="return check_form();" it's usually with the draw form part of the script.... Link to comment Share on other sites More sharing options...
uptoome Posted December 15, 2005 Author Share Posted December 15, 2005 Ok... bone-headed typo in the alert() I had added to check_form()... the JS is obviously called. aka as fat finger syndrome. Fortunately, it gave me time to realize why the validation happens in two places... because the customer may have disabled JS. Thanks to Rodney for his feedback. Link to comment Share on other sites More sharing options...
djrino Posted February 23, 2006 Share Posted February 23, 2006 hi please do tou can help? i have mu new field and i wanto to the customer type only number not letter.. i want 00000-000 and not asdfghjkll Or 000000000 Many tnx Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.