Frontend data submission not saved for user role subscriber

Support MB Frontend Submission Frontend data submission not saved for user role subscriberResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #45990
    EddyPiVEddyPiV
    Participant

    Hi,

    I have custom fields set up for users.
    When I - as admin - enter data in the frontend it's nicely saved.
    When I do the same with a subscriber role, it says that the data is saved succesfully, but it's not, it's not saved. There is no error message that the user has no rights to do it.

    That same subscriber can successfully change and save these custom fields in the admin area.

    Just to be complete: the values of these custom fields are stored in a custom table. Not sure if that makes a difference here.

    How to have it working in the frontend as well?

    Regards,
    Eddy

    #45997
    PeterPeter
    Moderator

    Hello Eddy,

    If the subscriber user role can save the data in the admin area, it should work in the frontend also. You can try to. deactivate all plugins except Meta Box, MB extension plugins, switch to a standard theme of WordPress and check the issue again.
    I tested this feature on my demo site but couldn't reproduce the issue.

    #45998
    EddyPiVEddyPiV
    Participant

    I had set up the custom fields in a way that they were only visible in admin area to the Admin role, and let users edit in the frontend. But perhaps that's a conflicting idea?

    I did many tests, and probably confused myself when I said the user could edit in admin area and not in frontend.
    Anyway, I have now removed the setting that fields are only visible for the Admin role.
    Now visible to the user and user can edit in the frontend.

    So consider it solved.

    Thanks Peter

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