It's difficult to give a hidden form element an ID at this moment because theme_hidden only uses #name and #value. #id's are really useful when working with javascripts.
This can be fixed by overriding the function in your theme, but of course that's not the best approach for something this simple.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | theme_hidden.patch | 635 bytes | praseodym |
Comments
Comment #1
praseodym commentedTo add the id, replace form.inc, line 903:
Comment #2
praseodym commentedIgnore above. Patch against cvs attached.
Comment #3
chx commentedComment #4
dries commentedCommitted to HEAD. Thanks.
Comment #5
(not verified) commented