CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 TextArea

Print topic Send  topic

Author Message
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
>
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.