28 Jun
2010
28 Jun
'10
4:59 p.m.
Hi Pierre, I'll do that regarding the type, thanks. So, by 'take care of'... the original field is an autocomplete text field, and I'm thinking you mean that I should disassemble it (or at least unset it) first, rather than have array keys still present with the 'value' type leftover from the text field? Jeff
Some content fields have a complex structure you should take care of.
Another note, you might want to use '#type' => 'value' instead of 'hidden', which will be saved into form cache but not rendered at all in the final HTML.
Pierre.