-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You could get away with that using a regular HTML <form> tag, but you
can't break up the opening & closing of any <CF* tags.  CF gets very
offended...

You *could* do something like:
<cfif IsDefined("URL.myvariable">
        <cfset TheAction = "emp_add_action.cfm?myvariable=true">
<cfelse>
        <cfset TheAction = "emp_add_action.cfm">
</cfif>

<cfform action="#TheAction#" method="post" enablecab="Yes">
        <!--- Whatever --->
</cfform>

Best regards,
Zac Bedell

> <cfif IsDefined ('URL.myvariable')>
>    <cfform action="emp_add_action.cfm?myvariable=true"
> method="post" enablecab="Yes"> 
>   <cfelse>
>    <cfform action="emp_add_action.cfm" method="POST"
> enablecab="Yes">  
>  </cfif>
> 
> 
> Whether myvariable exists or not it doesn't print either of 
> the cfform =
> lines.

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>
Comment: Please use PGP!!!

iQA/AwUBOW4ZZgraVoMWBwRBEQIPXwCg4ZdQyK+dkx6vWxPD2+nBiYpRXkYAoOJ2
Ph1v98qcSYeMA0Rt9tEYG7xe
=XM5G
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
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.

Reply via email to