This is what I use. 


<cfif #Len(form.fieldname)# GT 750>
        <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
    <!--
        alert ('Your Description exceeds the space alotted. If more detail
is required submit description as Word document file.')
                location.href='javascript:window.history.back(1)'
    //-->
    </SCRIPT>
<cfabort>
</cfif>




Nick Betts wrote:
> 
> Morning CF World.
> Does anyone know how I would limit the amount of text a user can enter
> into a textarea?
> 
> Regards,
> Nick Betts
> 
> -----Original Message-----
> From: Thomas Chiverton [mailto:[EMAIL PROTECTED]]
> Sent: 20 August 2001 10:18
> To: CF-Talk
> Subject: RE: Detect screen resolution (one solution) :)
> 
> > This JS will detect a users screen resolution for redirection to an
> > appropriate page on your site!
> 
> You left out the body tag, if you had included this, then you could have
> used it's onLoad property to call redirectPage() automagicly.
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to