CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 php form field need to limit...

Print topic Send  topic

Author Message
IceMann
Posted: 02/07/2005, 12:43 PM

i need to limit the imput to max 1000 characters and if possible with counter, i have tried but i canot us a javascrpt function or i am to stupid to get it in to here...
if someone could help me please!?

my code (textfield is)

<td><?php echo textarea_field('message', 'soft', '60', '5'); ?></td>

thanks for your help

btw i have got it to work like

<td class="main"><textarea name="message" cols="45" rows="22" wrap="hard" onKeyDown="textCounter(this.form.message,this.form.remLentext,1000);" onKeyUp="textCounter(this.form.message,this.form.remLentext,1000);"></textarea><br><center>You have <input type=box readonly name=remLentext size=3 value=1000> Chars left</center></td>

but i need the function textarea_field that i have that creates the field

IceMann

Add new topic Subscribe to topic   


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

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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