itch Posted February 9, 2007 Share Posted February 9, 2007 In ASP you could write easy ways to check if, for example, an email address is valid. Then it would immediately write next to the input box that the information entered is incorrect and must be corrected. How do you do that in PSP? Basically, I want to be able to click on a button and then have a new button appear ON THE SAME PAGE WITHOUT RELOADING. Any help?! Link to comment https://forums.phpfreaks.com/topic/37735-form-verification/ Share on other sites More sharing options...
ToonMariner Posted February 9, 2007 Share Posted February 9, 2007 You have to do some ajax if you want php to validate the form inputs.... Same as asp - take each field and apply your validation terms to them - if they match the criteria then ok if not return a fail and use the return string to dictate what js will do to the page. Can't be any more specific as there are lots of ways to go about form validation you have to pick that for yourself. Link to comment https://forums.phpfreaks.com/topic/37735-form-verification/#findComment-180538 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.