Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

Re:

$
0
0

I use cfselect like following code,

"hello" shows when I use <cfif not isDefined>, it does not show isDefined,

 

Thanks again,

 

Regards,

 

<cfif isDefined("form.lstMylst")>

 

    hello

 

</cfif>

 

 

<td>
  <cfselect name="lstMylst" id="lstMylst">

         <cfoutput query="myQuery">
         <option value="#MyQuery.MyID#"
            <cfif (isDefined("form.MyID") AND form.MyID EQ myQuery.MyID)>selected="selected"</cfif>> #MyQuery.MyName# </option>
            
         </cfoutput>

  </cfselect>

</td>


Viewing all articles
Browse latest Browse all 21760

Trending Articles



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