mayman212 Posted October 7, 2011 Share Posted October 7, 2011 Hi all, I want to know how to validate a UK postcode and a UK telephone number using j Query, in a form. Any help on this topic would be much appreciative. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/248617-validating-using-jquery/ Share on other sites More sharing options...
AyKay47 Posted October 7, 2011 Share Posted October 7, 2011 what exactly do you mean when you say validate here? have you started this at all yet? any code to show? Quote Link to comment https://forums.phpfreaks.com/topic/248617-validating-using-jquery/#findComment-1276742 Share on other sites More sharing options...
bravo14 Posted October 10, 2011 Share Posted October 10, 2011 Try downloading the jquery validation engine from http://www.position-absolute.com/articles/jquery-form-validator-because-form-validation-is-a-mess/ this has a UK Postcode validator ready made. Quote Link to comment https://forums.phpfreaks.com/topic/248617-validating-using-jquery/#findComment-1277744 Share on other sites More sharing options...
haku Posted October 11, 2011 Share Posted October 11, 2011 jQuery is a library used for manipulating DOM elements. Element validation is not DOM manipulation. You may want to insert success/failure messages with jQuery after doing the validation, but jQuery itself isn't the right tool for validation. Quote Link to comment https://forums.phpfreaks.com/topic/248617-validating-using-jquery/#findComment-1278163 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.