> Jim wrote:
> >How do I use it?
>
> For just a form var its completely painless. CodeCleaner is just a
> custom tag, so you either put it into the current folder or the custom
> tags folder. Then, on a form post page you would validate all of your
> form fields with it. I do it in a block like you see below. Each
> call takes only a smidgen of time:
>
> <!--- check and clean the form vars --->
> <CF_CodeCleaner INPUT="#form.FirstName#"><cfset form.
> FirstName=clean_code>
> <CF_CodeCleaner INPUT="#form.LastName#"><cfset form.
> LastName=clean_code>
> <CF_CodeCleaner INPUT="#form.EmailAddr#"><cfset form.
> EmailAddr=clean_code>
> <CF_CodeCleaner INPUT="#form.MailAddr#"><cfset form.
> MailAddr=clean_code>
> <CF_CodeCleaner INPUT="#form.MailCity#"><cfset form.
> MailCity=clean_code>
> <CF_CodeCleaner INPUT="#form.MailState#"><cfset form.
> MailState=clean_code>
> <CF_CodeCleaner INPUT="#form.MailZIP#"><cfset form.
> MailZIP=clean_code>
>
>
>
> --
> -------------------------------------------
> Matt Robertson, [EMAIL PROTECTED]
> MSB Designs, Inc. http://mysecretbase.com
> -------------------------------------------
>
--
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

