/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function MY_MODULE_form_user_register_alter(&$form, &$form_state) { $profileFieldset= 'About You'; // CHANGE TO YOUR GROUP // cluster all fields into one fieldset foreach($form[$profileFieldset] as $key => $item) { // push field to account fieldset } }