Posted by kemo1 on February 21, 2013 at 3:40pm
I have a custom module, and i try to set default value for a taxonomy field in node form.
I use form alter hook.
$form['taxonomy'][18]["#default_value"][0] = arg(3);
It works except when the vocabulary translation mode is "Localize terms".