Cris987 Posted October 4, 2007 Share Posted October 4, 2007 I read somewhere that it's a not faster to validate forms by with the client side (JS) and that PHP form validation should be used as backup. So I found some JS code to validate the form. Now, how would I proceed to validate the form with PHP in the case that a user turns off JS? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/71756-form-validation-with-js-and-php/ Share on other sites More sharing options...
teng84 Posted October 4, 2007 Share Posted October 4, 2007 valiadate it just how you validate your form using js and it depends on how you want to validate input eg.. email, name , phone number etc... Quote Link to comment https://forums.phpfreaks.com/topic/71756-form-validation-with-js-and-php/#findComment-361360 Share on other sites More sharing options...
Cris987 Posted October 4, 2007 Author Share Posted October 4, 2007 What I mean is... how can run my php code to validate my form ONLY when javascript has not been used ( in the case that a user has disabled JS) ? Quote Link to comment https://forums.phpfreaks.com/topic/71756-form-validation-with-js-and-php/#findComment-361749 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.