CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Hiding Search Button

Print topic Send  topic

Author Message
Doug
Posted: 05/19/2004, 8:55 AM

Good morning..

Before I post in the CF forum which appears to get little traiffic, I thought I would post here first. I need to hide a search button on a Search form. I am pretty sure the code goes in the BEFORE SHOW event, but I cannot make it work using the HIDE command from Cold Fusion. Right now I am just commenting out the one line of code from CCS that displays the button. But I am not sure if that is a safe approach or not. I need the button hidden permanently so no logic is required.

thanks for any help
Doug
E43509

Posts: 283
Posted: 05/19/2004, 12:15 PM

You should be able to use CCS generated value hideButton_DoSearch and set the value to TRUE
Search the cfm file for it
View profile  Send private message
Vi
Posted: 05/19/2004, 11:41 PM

Try event "BeforeShow" with code like
<cfset hideButton_DoSearch=true>

You can hide any controls with code like
<cfset hideControl=True>
for CF(without templates)
For CFT for some controls (Label,TextBox...) you need to apply also custom block around the control in the form of extended HTML.
Doug
Posted: 05/20/2004, 12:08 PM

:-D
hideButton_DoSearch=True did the trick. Definitely one of those RTFM solutions so I appreciate both of your patient replies.

THANK YOU!

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.