Peter,
You'll probably get several responses suggesting that you use
FORM.FieldNames. Be aware, though, that some form fields are passed even
if they have no value, so you may want to include a check for that:
<cfloop list="#form.fieldnames#" index="field">
<cfif Evaluate(field) is not "">
<cfoutput>#field#: #Evaluate(field)#</cfoutput><br>
</cfif>
</cfloop>
-David (hoping I didn't omit a necessary pound sign)
On Tue, 19 Sep 2000 09:51:23 -0400 Peter Benoit
<[EMAIL PROTECTED]> writes:
> I want to email the results of a rather large form to someone. I
> can't
> verify that all the form fields have been filled out prior to the
> submission
> (no client side scripting allowed), so how can I do this without a
> huge
> number of :
>
> <cfif IsDefined('form.whatever')>#form.whatever#</cfif>
>
> I end up typing this over and over for each form field. Is there a
> better
> way of doing this?
________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk! For your FREE software, visit:
http://dl.www.juno.com/get/tagj.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.