Two ways to approach this that I am aware of:

1) <cfif blah>
     <cfform ....>
     form stuff here
     </cfform>
   <cfelse>
     <cfform ...>
     form stuff here
     </cfform>
   </cfif>

OR if the cfform opening tag (ie action attribute) is the same for both
forms,
2) <cfform>
     <cfif blah>
     some form stuff here
     <cfelse>
     other form stuff here
     </cfif>
   </cfform>

Chris Montgomery
=========================================================
astutia.com -> http://www.astutia.com  [EMAIL PROTECTED]
  Astute e-business applications & web site development
      210-490-3249/888-745-7603   Fax 210-490-4692
Allaire Consulting Partner/Authorized NetObjects Reseller
  Find a Job in San Antonio ->  http://www.sajobnet.com
 Need professional help? -> http://www.psychadvisor.com
=========================================================


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

Reply via email to