• Hello,

    I have a complex problem I’d love feedback on.

    So I have created a custom user role (Lab Tech), and I would like to create a form for them to look up and update user records.

    The caveats being:

    1. I only want them to be able to look up users by a custom field value (not email address)
    2. I only want them to be able to see values for and edit 6 other custom fields, and save the values they insert into those fields. I cannot have them see any other fields associated with the user record (not email, name, etc., nothing else).

    Example:
    Lookup User: [custom field value] {submit}
    {Display Only These fields}
    Custom Field 1: [display value, even if blank] {able to update}
    Custom Field 2: [display value, even if blank] {able to update}
    Custom Field 3: [display value, even if blank] {able to update}
    Custom Field 4: [display value, even if blank] {able to update}
    Custom Field 5: [display value, even if blank] {able to update}
    Custom Field 6: [display value, even if blank] {able to update}
    [save to user record]

    I realize this is difficult as Lookup usually goes by email address, first and last name, etc.

    Any feedback would be amazing!

    Thanks

    • This topic was modified 7 years, 1 month ago by Jan Dembowski.
    • This topic was modified 7 years, 1 month ago by Jan Dembowski. Reason: Moved to Fixing WordPress
  • The topic ‘Front-end Admin Form w/limited functionality to update user records’ is closed to new replies.