mysty Posted January 11, 2008 Share Posted January 11, 2008 I have just discovered Dreamweaver's ability to use Spry, which uses javascript and Ajax, etc. I need some help with a form that sends data to a MySQL database. What I want to be able to do is have a validation-type alert if a user enters an email address and there is already that email address in the database. Is this possible with javascript, or do I have to use Ajax? I don't really know much PHP and zero javascript or ajax. Is this even possible? Might there even be a pre-made script I could use? Link to comment https://forums.phpfreaks.com/topic/85560-use-js-to-validate-forms-email/ Share on other sites More sharing options...
Cazrin Posted January 11, 2008 Share Posted January 11, 2008 Unless you used PHP to load every e-mail address in your database into a JavaScript array, you'll have to use AJAX. Having never used AJAX I can't tell you how to do it (sorry ) but I'm sure it'll be pretty straight forward. Link to comment https://forums.phpfreaks.com/topic/85560-use-js-to-validate-forms-email/#findComment-436725 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.