I want to be able to set a page up to accept
free format text and store it in a database.
I have achieved this by creating an asp page with a form
that includes a text area. The text area gives me two
problems.
1) How can I limit the number of characters a user
can enter into a textarea box? All I have managed to
do is limit the sie of the text area on the web page.
Users can type and scroll beyond the size of the
text area I defined.
2) I have named my text area so I can refer to it once the
form has been posted. The problem is that the
textarea name only stores the first work from the text
area. For example is I type "This should work!" in my
text area box, the asp that reads the textarea after the
form has been posted only holds the value "This".
The code for the text area is as follows:-
<TEXTAREA COLS=50 ROWS=4 NAME="mytext"></TEXTAREA>
Perhaps I should instead set up a text field? This then leads to another problem in that a 200 character text field
is one long field instead of a text box with a set number of columns and a set width.
Thanks.
free format text and store it in a database.
I have achieved this by creating an asp page with a form
that includes a text area. The text area gives me two
problems.
1) How can I limit the number of characters a user
can enter into a textarea box? All I have managed to
do is limit the sie of the text area on the web page.
Users can type and scroll beyond the size of the
text area I defined.
2) I have named my text area so I can refer to it once the
form has been posted. The problem is that the
textarea name only stores the first work from the text
area. For example is I type "This should work!" in my
text area box, the asp that reads the textarea after the
form has been posted only holds the value "This".
The code for the text area is as follows:-
<TEXTAREA COLS=50 ROWS=4 NAME="mytext"></TEXTAREA>
Perhaps I should instead set up a text field? This then leads to another problem in that a 200 character text field
is one long field instead of a text box with a set number of columns and a set width.
Thanks.