im trying to make it so when someone hits submit and a feild is empty or blank i message pops up and says "must fill in required feilds" near the bottom of the form rather than having a new page open up and say it.
HunterSThompson
0
Newbie Poster
Recommended Answers
Jump to PostI would suggest using Javascript to validate the form, and then once the form has been sent validate it again using php.
Javascript validation is easy, just google for "Javascript Form Validation" and pleanty of examples appear.
The reason you must validate again using Php is because user's …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.