Support

Account

Home Forums General Issues How to update a repeater field on a user page via a frontend form?

Unread

How to update a repeater field on a user page via a frontend form?

  • I have added some custom fields to my users’ profile pages. I would like for them to be able to update these fields using a form on the frontend of the site. For standard text fields I have been able to accomplish this using the following code:

    update_field('zipcode', $userZip, 'user_'.$userID);

    This is working great. However, one of the fields I have in the user profile is a repeater field with 15 sub-fields and I am not sure how I would be able to allow them to add, edit or delete these rows of fields.

    Can anyone point me in the right direction?

    Thanks!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.