Hi I'm trying to save a field into another field in the same form when the form is submitted.
I've tried using hook_form_alter and checked for
count($form_state['input']) > 0 to save $form['account']['field_first_name'] into $form['profile']['field_first_name']
I know you may say that I can use the profile2 module. I'm already using that. I just need to figure out how to save one field value into another field when a form is submitted.
Any help would be greatly appreciated.