Quantcast
Channel: Adobe Community : Discussion List - ColdFusion
Viewing all articles
Browse latest Browse all 6243

CFIF control form display

$
0
0

I want to use following code to control elements on the form.

I use cfoutout that it shows the value is 0, but the cfif control does not show the cfselect on the form.

Is it the right way to do control on the form?

 

Your help and information is great appreciated,

 

Regards,

 

Iccsi,

 

<cfoutput>

           FORM site "#form.MySite#"

         

    </cfoutput>

 

<CFIF structKeyExists(form,MySite)>

      <cfif "#form.MySite#" EQ "0">

           <tr>

             <td>

               <cfselect name="Mylst" id="Mylst">

            </td>

           </tr>

  </cfif>

</cfif>


Viewing all articles
Browse latest Browse all 6243

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>