<cfform>
        <cfif foo>
                <cfinput...
        <cfelse>
                <cfinput...
        </cfif>
</cform>

If you need to modify the action though you'll need something like:
<cfif foo>
        <Cfset myAction="bar">
<cfelse>
        <cfset myAction="bat">
</cfif>

<cfform action="#myAction#">
....

would need more info if that don't help...
___________________________________________

  Sean Brown            <[EMAIL PROTECTED]>
  http://www.westcar.com/

  "Either way you get your dog back"
                          -Anonymous
___________________________________________


-----Original Message-----
From: Chris Hayes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 09, 2000 12:10 PM
To: [EMAIL PROTECTED]
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