Put the </cfform> inside your if statements, not outside.  i.e.

<cfif blah>
  <cfform .....>
  </cfform>
<cfelse>
  <cfform .....>
  </cfform>
</cfif>

That should solve your problem.

HTH

Josh

----- Original Message -----
From: "Chris Hayes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 09, 2000 9:10 AM
Subject: Now what?


> I have a conditional form post:
>
> <cfif blah>
>     <cfform .... >
> <cfelse>
>     <cfform ...>
> </cfif>
> .
> .
> </cfform>
>
> But ColdFusion gives a JIT error that there is an extraneous </cfform>
tag.
>
> What other ways are there of doing this?
>
>
>
> --------------------------------------------------------------------------
----
> Archives: http://www.eGroups.com/list/cf-talk
> 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.
>

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
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.

Reply via email to