By Michsk on
Would it be possible to transfer the elements / options from one fieldset to another?
-Fieldset
-- Name
-- Age
-Fieldset
-- Sex
Lets say that from the above i would like sex to be moved to the above fieldset and not have it's own.
Why? I have some notify modules, like for comments and PM's, but the notify module for PM has its own fieldset. It's more logical to have one fieldset with the name "Notify" and have all the notification options in there.
Comments
Yes, each field set element
Yes, each field set element will have a key, I will call the f1 and f2, this code should get you started.
You would need a module that implement hook_form_alter() with code to check the form id and uses code like the above.
Thanks, i will look in to it
Thanks, i will look in to it today.
What do you mean with 'key'?
What do you mean with 'key'? I can not find any key nor an id for the fieldsets...
Ok i tried this but it
I get the idea. But i also get a error :-P
Got this working with: //
Got this working with:
This is great. Thanks.
This is great. Thanks.
Luis