troubleshooting Question

box requires text; two boxes must contain identical text

Avatar of spirofantasio
spirofantasio asked on
2 Comments1 Solution260 ViewsLast Modified:
I am making a form with PHP in which a web site visitor puts in various details.

I'm stuck on three things:

1. The Contact Name input box must contain text
2. The Email address box must also contain text
3. There is a second box in which the user must repeat his email address.

An error message should appear if any three of these boxes are not filled or if the second and third boxes do not contain matching text.

Is there any way of doin this in PHP? I would rather avoid Javascript, but will consider it if there is no other option.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros