> I notice now its actually a <textarea name rather than a text box if that 
> makes a difference
>
> heres my line of code:
> <td valign="top">Email Text :</td>
> <td><textarea name="body" rows="10" maxlength="10" cols="85"></textarea></td>
>
> only problem is maxlength doesnt seem to be doing anything, am i putting it 
> in the right place?

The TEXTAREA tag doesn't accept a MAXLENGTH attribute. If you use
CFFORM, you could use CFTEXTAREA, which does support a MAXLENGTH
attribute if you specify VALIDATE="MAXLENGTH" in it also. Otherwise,
you have to use a JavaScript solution of your own creation to limit
textarea input.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:326230
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to