Hi,

to do you can use javascript, like here :

http://javascript.internet.com/forms/limit-textarea.html

Regards,

Stephane

> Hi
> I’ve a text box on my form, and in the database it is set to allow 500 
> characters to be entered, however i can write any amount of characters 
> above 500, I do get an error sayng: Error Executing Database Query.  
> [Macromedia][SQLServer JDBC Driver][SQLServer]String or binary data 
> would be truncated.  
> 
> But the email still sends anyway, what im trying to do is get rid of 
> the error message altogether, so is there a way I can stop the cursor 
> from typing past 500 characters?
> 
> Thanks


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326221
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to