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?! Quote Link to comment 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. Quote Link to comment 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.