Bug with keeping visible the fields which are already saved

Support MB User Meta Bug with keeping visible the fields which are already savedResolved

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5152
    socialitysociality
    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.

    #5156
    Anh TranAnh 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
    socialitysociality
    Participant

    Meta box code:

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

    make first and last name field required code

    https://ghostbin.com/paste/wd7hb

    #5170
    Anh TranAnh 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 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.