Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- form mail input
October 31, 2003, 11:11 pm
rate this thread
- Jukka K. Korpela
November 1, 2003, 11:14 am
Re: form mail input
Why is it in a lonely table cell? If you use a table to structure a form,
you need some more markup. But usually you don't need a table for that.
Works as designed.
<div><label for="comm">Comments or questions:</label></div>
<div><textarea id="comm" name="Comments_or_Questions"
The answer to the anticipated question "but how do I limit the amount of
data to 200 characters?" is "you don't, you just need to deal with that in
the form handler". More on this:
Besides, people who want to send more than 200 characters long questions are
probably people that you should serve especially well, instead of limiting
the amount of data. Of course, some of them might actually be nasty robots
(or people) who send your form handler a gigabyte of junk. So you need
_some_ checking in the form handler, but the limit should be of some other
order of magnitude than 200 characters.
Yucca, http://www.cs.tut.fi/~jkorpela /
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html