Custom Fields
Re-Envisioned
Support MB User Meta Bug with keeping visible the fields which are already saved

This topic contains 3 replies, has 2 voices, and was last updated by  Anh Tran 2 years, 3 months ago.

  • Creator
    Topic
  • #5152
    Resolved
    sociality
    Participant

    Hello,

    I noticed something which I am note really sure if it is a bug or not.

    I have some custom fields for users. Along with that, I have made first name and last name fields to be required.

    As admin, when I edit another user role (eg author), when I have the first name field emptied and all other fields fulfilled and hit save, my custom fields (which are also required) although they have value, they lose their value in the form. Still the values do not get deleted from the database because ig I visit the user’s page after that I can see them in the form.

    This happens only when I edit anther profile. If as admin edit my profile the values are still there.

    Hope to be understood. It is not a big deal for me. Just mentioning that in case there is a bug somewhere in the code for required fields.

    Thank you in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #5156

    Anh Tran
    Keymaster

    Hi,

    Can you send me the code you use? I tried to replicate the bug but I couldn’t. It works fine to me.

    #5163

    sociality
    Participant

    Meta box code:

    https://ghostbin.com/paste/28zgj

    make first and last name field required code

    https://ghostbin.com/paste/wd7hb

    #5170

    Anh Tran
    Keymaster

    Hi, thanks for reporting. It’s actually a bug in the plugin. I’ve just fixed it in version 1.0.5. Please update.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.