CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 change color of input box

Print topic Send  topic

Author Message
Peter Lucas
Posted: 04/10/2003, 2:35 PM

Hi All,

As far as I understand it the following code should change the text color of
an input box to RED is it is set to readonly :

global $frm_user;

if ($frm_user->usr_register_date->UpdateAllowed = FALSE);

$frm_user->usr_register_date->SetValue($frm_user->usr_register_date->GetValu
e().'style="color: #FF0000"');

The only things that happen are :

1) date is set to 01/01/1970 ( ? )
2) Color is not changed.

Could anyone explain me what i'm doing wrong,

Regards,

Peter Lucas


   


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

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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