Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jason Lau

    (@jason-lau)

    Add the “readonly” attribute to the field.

    In UMM’s custom meta editor, in the “Additional Attributes” field, you would enter –
    readonly

    or

    disabled="disabled"

    The value can still be changed by admin using UMM’s interface.

    Important note: This does not prevent data from being passed by a malicious user. A user can manipulate the DOM with a code inspector and then submit the form.

    Thread Starter Dan Maby

    (@danmaby)

    Appreciate the support and info!

    Hello,
    If I do read only a user profile field, I can’t modify it. from user administrator for example.
    I need the user profile fields are read only for all users except user’s administrator.

    Thank you very much.

    Regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Make custom fields read only?’ is closed to new replies.