Link to home
Start Free TrialLog in
Avatar of spirofantasio
spirofantasio

asked on

box requires text; two boxes must contain identical text

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.
ASKER CERTIFIED SOLUTION
Avatar of MrEne
MrEne
Flag of Hungary image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of spirofantasio
spirofantasio

ASKER

Thanks for the helping hand. I'm finally getting somewhere.