Support

Account

Home Forums Front-end Issues Only some fields should be editable in the Frontend

Solved

Only some fields should be editable in the Frontend

    • peterf

    • July 6, 2013 at 9:47 pm

    Hi,
    I am trying to get an editable frontend from where only specific fields should be editable.
    E.g I have assigned custom fields 1,2,3 to a user and the user should be able to edit fields 1 and 2 but not 3.
    I thought it could work by adding 2 fieldgroups to the user but I am not able to load only a specific fieldgroup.
    Any advice?

  • @peterf,

    Are you using the ACF front-end form functions or building a custom form?

    If the former, see http://www.advancedcustomfields.com/resources/tutorials/creating-a-front-end-form/. In the acf_form() options array, you’ll just specify ‘field_groups’ as an array of ACF post object ID’s.

    • peterf

    • July 7, 2013 at 4:35 pm

    Thank you. I did not correctly fill

    'field_groups' => array(),

    with my groupfields number. Working now 🙂

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.