yeah i am not getting it scipt then form fields below var mlength=8000 var oEditor = FCKeditorAPI.GetInstance('descLong'); var sigcnt2 = oEditor.GetXHTML(true); if (sigcnt2.length==0) { alert('You need to enter something for the body of your story.'); return false; }
if (document.form1.descLong.value.length > mlength) { document.form1.descLong.value = document.form1.descLong.value.substring(0,mlength); alert('Your descLong may not exceed 8000 characters in length.') } sigcnt2.value = 8000 - document.form1.descLong.value.length; } <cftextarea name="descLong" cols="50" rows="5" height="300" width="600" richtext="yes" toolbar="Default" tooltip="Long Description is what shows with image, on main page." maxlength="8000" onKeyUp="return ismaxlength2();"></cftextarea> <cfinput type="text" name="sigcnt2" value="8000" size="3" style="border:0px;"> Characters remaining ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303801 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4