[development] Issues with disabling a form field

Leonard den Ottolander.nl drupal at den.ottolander.nl
Sat Jan 22 04:17:17 UTC 2011


Hello Jeff,

On Fri, 2011-01-21 at 10:47 -0500, jeff at ayendesigns.com wrote:
> I'm using the method given at
> http://drupal.org/node/357328#comment-3021230 to disable a submit
> button in a form (after trying to simply set #disabled in
> hook_form_alter). I have the module set with a weight of 10, the code
> works as it should in terms of setting the attribute for the field
> (below), but the field is not disabled.

When working on the Delegate Menu Administration module I noticed that
changes to the delegate_menu_admin_menu_alter() function would only show
up after running update.php. Perhaps you are having the same problem?

Regards,
Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research

-- 
mount -t life -o ro /dev/dna /genetic/research




More information about the development mailing list