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
|
|
|
|