[development] Disabling E-mail field in User Account > Edit

Keve kevex at pro.hu
Sun Dec 11 20:27:24 UTC 2005


Nedjo Rogers wrote:

>> I'm trying to disable the e-mail and user_name filed in the User
>> Account Edit page.
>
>
> It's a 'disabled' attribute you want to set,
> http://www.w3.org/TR/REC-html40/interact/forms.html#adef-disabled
>
> Perhaps:
>
> $html_params = array("disabled" => "TRUE");
>
>
>
>
>
>
I tried w/:
$html_params = array("disabled" => "");

BUT if it is disabled, at submitting, validation fails. (Missing value)


More information about the development mailing list