Using Customer Field to Update user_meta

This topic contains 1 reply, has 2 voices, and was last updated by Avatar Pie Register 4 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #10003240
    Robin Harlow


    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.

    Pie Register


    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.


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

The forum ‘Pie-Register 2.0 Support’ is closed to new topics and replies.