Generate “Full Name” on submission of registration form
-
In my community, I would like to have users enter their real names, but have first and last names in separate fields. The “BuddyPress Real Names” plugin works for this in general, but unfortunately requires the users to enter three names (full name, first name, last name) on the registration form.
I modified the register.php to omit the “full name” field, but this breaks the submission since full name is a required core field. Would it be possible to generate the content of the full name field from the first and last name fields in my registration form automatically on submission before the data is submitted to the database?
Does anyone have a hint for me, how and where I should do this?
- The topic ‘Generate “Full Name” on submission of registration form’ is closed to new replies.