How do I force the correct email address

greenspun.com : LUSENET : S-Mart Shopping Cart : One Thread

The email field on my order form is a required field, but if the customer just types in their name, its accepted. Is there a way to trap their correct email address from the and have it default to the email field?

Thanks in advance

-- Jan (sas2jes@aol.com), June 10, 2000

Answers

Go to http://javascript.internet.com Look for the 'check-email' script. I would paste it here for you, but the board software would scramble it... You will need to insert the script into your order.html file. It isn't easy, but it works.

-- Eddie Deboard (eddiel@paragould.net), July 31, 2000.

Moderation questions? read the FAQ