[support] Hiding a field

Ms. Nancy Wichmann nan_wich at bellsouth.net
Mon Apr 23 14:40:52 UTC 2012


I was asked to come up with a simple hook_form_alter() code to hide a "select" field. It worked fine in D7, but then they said it was for D6. The code should be nearly the same. I can see that the form code is set to "hidden" and otherwise set up correctly. Indeed, a companion "checkbox" field does hide, but not the select field. Any ideas why?

 
Nancy 

Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20120423/374a9b4f/attachment.html 


More information about the support mailing list