Something sort of like this?
<cfif isDefined("form.FIELDNAMES")>
<cfloop collection="#form#" item="i">
<cfif #i# IS "">#i# is blank</cfif>
</cfloop>
<cfabort>
<cfelse>
<cfloop collection="#url#" item="i">
<cfif #i# IS "">#i# is blank</cfif>
</cfloop>
<cfabort>
</cfif>
Pete
----- Original Message -----
From: "Douglas Brown" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, February 25, 2002 1:03 PM
Subject: Form?
> Is there a way to check a form to see if any fields were left "" without
> having to check each one independently?
>
>
>
>
> "Success is a journey, not a destination!!"
>
>
>
> Doug Brown
>
>
______________________________________________________________________
Why Share?
Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
Instant Activation � $99/Month � Free Setup
http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists