Closed (fixed)
Project:
Profile 2
Version:
7.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Sep 2014 at 11:12 UTC
Updated:
15 Jan 2019 at 17:31 UTC
Jump to comment: Most recent
I am working on registration page, used profile2 to create register page.
The form is having 2 select boxes. One of the two select box in having "Title" field.
The values for Title fields are Mr. Mrs and Ms in English When I translate to French these would "Monsieur Madame and Mlle".
When user register using French version of registration page and if he select say "Monsieur " from title field, still it is storing as Ms. in db.
Can someone help me out of this?
advance thanks
Comments
Comment #1
joachim commentedThat's nothing to do with Profile2 -- just FieldAPI.
Comment #2
veershetty commentedThanks joachim,
I have solved my problem, used hook_profile2_presave to change the values before saving to database.
Now I am able store values properly.
Thanks,
Veer
Comment #3
joachim commentedOk. Thanks for reporting back!
Comment #4
rickj commented