Ricky
|
Posted: 04/11/2001, 6:35 PM |
|
Is there a way to limit text size in TextArea type field ?
I tried to use textbox but if you have a field size of 200
it go across the screen in one long box.
Ricky
|
|
|
Alexey Alexapolsky
|
Posted: 04/12/2001, 2:39 AM |
|
<TEXTAREA NAME=ÔÆØÕ ROWS=m COLS=n>
m X n = 200 , choose suitable n and m , 2 and 100 , for instance
--
Regards,
Alexey
CodeCharge Support
Ricky <rfidler@1lsn.com> wrote in message
news:9b30pi$m7r$1@mail.tankhill.com...
> Is there a way to limit text size in TextArea type field ?
> I tried to use textbox but if you have a field size of 200
> it go across the screen in one long box.
>
> Ricky
>
>
>
|
|
|
Alexey Alexapolsky
|
Posted: 04/12/2001, 2:47 AM |
|
I see my previous answer is insufficient.
This will only limit visible area , but not input size ,
you will need to use Javascript (added to Form
properties/Header&Footer/Footer)
like below
function check_area() {
if ( document.myform.mytextarea.value.length > 200)
alert("Too many symbols");
}
document.myform.OnBlur=check_area;
--
Regards,
Alexey
CodeCharge Support
Ricky <rfidler@1lsn.com> wrote in message
news:9b30pi$m7r$1@mail.tankhill.com...
> Is there a way to limit text size in TextArea type field ?
> I tried to use textbox but if you have a field size of 200
> it go across the screen in one long box.
>
> Ricky
>
>
>
|
|
|
Alexey Alexapolsky
|
Posted: 04/12/2001, 6:44 AM |
|
You can set limit to number of character entered into
textarea right in CodeCharge. Fill in "size" textbox on the right
of your field.
--
Regards,
Alexey
CodeCharge Support
Ricky <rfidler@1lsn.com> wrote in message
news:9b30pi$m7r$1@mail.tankhill.com...
> Is there a way to limit text size in TextArea type field ?
> I tried to use textbox but if you have a field size of 200
> it go across the screen in one long box.
>
> Ricky
>
>
>
|
|
|
|