Click to See Complete Forum and Search --> : Effective web form


ecross
12-15-2004, 10:08 PM
I just made a Feedback Form page using FrontPage that uses FrontPage Server Extensions. Some fields are required in order for the user to submit the results. Just to give you a brief summary here is what I'm trying to gather from the user that is required:

First Name - Text box
Last Name - Text box
Email - Text box
Problem - TextArea box

How many characters required should these be? I don't want them to enter a fake email that is just 4 characters or so. Would 5 characters be enough? What about the First Name, Last Name, and the Problem?

Should I put a maximum number of characters for the Email text box?

PeOfEo
12-15-2004, 10:41 PM
I would say 40. You can also check the email feild. Make sure it has atleast 1 character, then an @, then atleast one character, then a . then atleast 2 characters. You can accomplish all of that with some javascript string functions.

ray326
12-15-2004, 11:42 PM
Google around and you can find some Javascript email validation functions. Of course you also need to repeat that validation on the server side in case Javascript wasn't running on the browser.

ecross
12-16-2004, 11:22 AM
What about Frontpage? So far I have done everything within FrontPage and haven't gotten any scripts off the Interent.

Stephen Philbin
12-16-2004, 11:45 AM
Another common use of Front Page I think you should be made aware of. (http://www.rootsecure.net/?p=reports/dtdefacement2)