Edit email using frontend user profile form

Support MB User Profile Edit email using frontend user profile formResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #13901
    Ryan LauritsenRyan Lauritsen
    Participant

    I'm following this topic to add a field for users to edit their email address:
    https://support.metabox.io/topic/how-to-edit-email-and-password/

    The field shows up but I cannot get the field to populate with the user's current email address.

    The function pulls the correct email. I can display it via the placeholder or desc field attributes, but not std so the field is not populated.

    #13908
    Anh TranAnh Tran
    Keymaster

    Hi Ryan,

    The std only works if no data has been saved. You can try it with a new user. For existing users or the users that you have edited once, there's some data saved in the user meta and the plugins avoid to use std attribute.

    #13910
    Ryan LauritsenRyan Lauritsen
    Participant

    Ok, thanks Anh.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.