I need to show a button on a page depending on query results. This is already existing code I am trying to modify. Is the following example correct?
Thanks in advance...
<td bgcolor="#FFFFFF"><div align="center">
<cfif UserID.Name is “ABC” OR UserID.Name is “XYZ” OR UserID.Name is “XOXO”> *****I'm concerned with where to place my cfif in the code and the </cfif>**** <input name="Submit" type="submit" id="Submit" value="Close">
</cfif>
<font size="3" face="Tahoma, Arial, sans-serif">
<input name="stknum" type="hidden" id="stknum" value="<cfoutput>#session.edrnum#</cfoutput>">
</font>
<input name="subemail" type="hidden" id="subemail" value="<cfoutput>#session.subemail#</cfoutput>">
<input type="hidden" name="MM_UpdateRecord" value="submitted">
</div></td>
Thanks in advance...
<td bgcolor="#FFFFFF"><div align="center">
<cfif UserID.Name is “ABC” OR UserID.Name is “XYZ” OR UserID.Name is “XOXO”> *****I'm concerned with where to place my cfif in the code and the </cfif>**** <input name="Submit" type="submit" id="Submit" value="Close">
</cfif>
<font size="3" face="Tahoma, Arial, sans-serif">
<input name="stknum" type="hidden" id="stknum" value="<cfoutput>#session.edrnum#</cfoutput>">
</font>
<input name="subemail" type="hidden" id="subemail" value="<cfoutput>#session.subemail#</cfoutput>">
<input type="hidden" name="MM_UpdateRecord" value="submitted">
</div></td>