• Resolved emmeellep

    (@emmeellep)


    I would like to make life easy for the editors of my site. I would need for 2 custom post types to pre-fill the restriction field on certain roles (always the same). Do you think there is a way via code to “pre-fill” certain values in checked?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Aswin Giri

    (@aswingiri)

    Hello @emmeellep

    If you are trying to pre-fill a field on UM form field, you can use ‘Default value’ like in this screenshot.

    This value will be pre-filled only in edit mode and will not be displayed on view mode.

    Thread Starter emmeellep

    (@emmeellep)

    Thank you very much,
    but I didn’t mean for the registration forms but for the post option field, this one for example → https://prnt.sc/hRjDk71OeW6o

    My requirement would be to leave the behaviour unchanged with the option for the editor to choose whether or not to limit the post. While in two other CPTs (e.g. books and videos) having pre-selected the limit to users with role XXX or YYY.

    Plugin Support andrewshu

    (@andrewshu)

    Hello @emmeellep

    Unfortunately, this functionality does not exist in our plugin at this time.
    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Default value for CPT’ is closed to new replies.