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

joachim’s picture

That's nothing to do with Profile2 -- just FieldAPI.

veershetty’s picture

Thanks 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

joachim’s picture

Category: Task » Support request
Priority: Major » Normal
Status: Active » Closed (fixed)

Ok. Thanks for reporting back!

rickj’s picture

Assigned: veershetty » Unassigned