Using Customer Field to Update user_meta

Home Forums Pie-Register 2.0 Support Using Customer Field to Update user_meta

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  PIE REGISTER 3 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3240

    Robin Harlow
    Participant

    Hi

    Thanks for the excellent plug-in.

    I need to use some of the custom field values from the registration form to update the WP user data:

    – the form needs to use a hidden username field to generate username ie USERnnnnn where nnnnn is a unique user_id number
    – the form isn’t using the standard name field (First Name + Last Name) but uses separate text fields for the first, middle and last last names – I need to concatenate these 3 fields into the Wp name field
    – the form has a custom dropdown field with two options to select the customer role – I need to use the setting for this field to set the WP_ user_role instead of picking up the default role for new users.

    #3252

    PIE REGISTER
    Keymaster

    Hi,

    Thanks for the appreciation.
    In our next release the username field will be optional.
    You can still add a hidden field and programmatically filled it using Hooks on Form submission.
    Yes, you can concatenate the name fields using the same hook.
    In free version, the User Role Selection option is not available.

    Please feel free to let us know if you need further hook.

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.