Right, that's what I get for posting a snippet out of context. Just
remove the <cfoutput> and </cfoutput>.
-David
On Tue, 19 Sep 2000 10:43:25 -0500 [EMAIL PROTECTED] (Top-Link
Tech (John Ceci)) writes:
> CFMAIL by itself does a CFOUTPUT...
>
> -----Original Message-----
> From: Peter Benoit [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 19, 2000 9:42 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [CF-Talk] Form Submission
>
>
> I put that in my cfmail tag and got an error:
>
> Error Diagnostic Information
> Invalid tag nesting configuration
>
> A CFOUTPUT tag is nested inside a CFMAIL tag with no GROUP= or
> QUERY=
> attributes . This is not allowed. Nesting these tags implies that
> you want
> to use grouped processing. However, the outer tag does not specify a
> query
> to loop over or a group to process.
>
>
> What did I do wrong?
>
>
>
> * -----Original Message-----
> * From: David Shadovitz [mailto:[EMAIL PROTECTED]]
> * Sent: Tuesday, September 19, 2000 10:26 AM
> * To: [EMAIL PROTECTED]
> * Subject: Re: [CF-Talk] Form Submission
> *
> *
> * 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/cf-talk@houseoffusion.com/
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.