Support

Account

Home Forums Backend Issues (wp-admin) How to show and save ACF forms in my plugin page

Unread

How to show and save ACF forms in my plugin page

  • I am making a schedule manage plugin using ACF.
    Firstly I created a field group for users so that users can register their schedules in each fields as name of the each date.
    Then I created a list of users with the schedule field group forms on the plugin page.

    $casts = get_users( array('role' => 'cast',) );
    foreach($casts as $cast){

    …..

    acf_form(array(
    'post_id' => 'user_' . $cast->ID,
    'fields' => array('field_entryday_'.date("m_d", strtotime("+" . $i . "day"))),
    'form' => false,
    ));
    }

    But when I use acf_form_head() on top and save changes, it is error.

    I would like to know if there is anyway I can edit and save a lot of forms at the same time on my plugin page?

    Thnks.
    Rihael

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.