/    Sign up×
Community /Pin to ProfileBookmark

Effective web form

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?

to post a comment
Full-stack Developer

4 Comments(s)

Copy linkTweet thisAlerts:
@PeOfEoDec 16.2004 — 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.
Copy linkTweet thisAlerts:
@ray326Dec 16.2004 — 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.
Copy linkTweet thisAlerts:
@ecrossauthorDec 16.2004 — What about Frontpage? So far I have done everything within FrontPage and haven't gotten any scripts off the Interent.
Copy linkTweet thisAlerts:
@Stephen_PhilbinDec 16.2004 — [url=http://www.rootsecure.net/?p=reports/dtdefacement2]Another common use of Front Page I think you should be made aware of.[/url]
×

Success!

Help @ecross spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...