I recently developed a module where I used the function hook_form_user_profile_form_alter(&$form, &$form_state)
to capture user preferences and saved them using function hook_user_presave(&$edit, $account, $category)
.
Then I accessed the data using $user->data['field'] in a module . That worked fine .
But now I want to store the same preferences using another form (not the user profile form). So is there any other hook to store them ?
I want to give a link to each user to the page(form other than the user profile ) where he can store his preferences .
Thanks in advance.