If your using a database to house the message, just trim down to say 200-300
characters.

<cfset newMSG = left(trim(form.message),250)>

But I would use Captcha to help stop it being a bot or something posting the
messages.


-----Original Message-----
From: Steve LaBadie [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 11, 2006 10:41 PM
To: CF-Talk
Subject: Guestbook Help

I have a cf guestbook that is receiving annoying advertising and people
leaving very long messages.  Any suggestions on limiting the length in the
textarea?  I know I can't stop the advertising, but looking for options.
 
Steve



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:249652
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