Yes, but you will need to add a db field for "active" or "visible" and set it accordingly.
Mike -----Original Message----- From: Steve LaBadie [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2008 12:17 PM To: cf-talk Subject: On/Off Switch For Admin Page The code below represents an admin panel for scrolling text on the home page. I want to add an on/off switch to this page to enable/disable the text so it only appears when I need I to, is this possible. <cfif isdefined("UpdateText")> <cfquery name="updateScolling" datasource="text"> UPDATE flyingtext SET flyingtext='#scolling#' </cfquery> </cfif> <cfquery datasource="poll" name="gettext"> SELECT * FROM flyingtext </cfquery> Scrolling Text Admin Page!</p> <cfform action="admin.cfm" method="post"> <strong>Scolling text on the home page</strong><br /> Scolling Text: <cfinput type="text" name="scolling" value="#gettext.flyingtext#" maxlength="250" size="100" required="yes" message="The scolling text is required!"> <input type="submit" name="UpdateText" value="Update Text"> </cfform> Steve LaBadie, Web Manager East Stroudsburg University 200 Prospect St. East Stroudsburg, Pa 18301 570-422-3999 http://www.esu.edu [EMAIL PROTECTED] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314870 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

