Home › Forums › Add-ons › Repeater Field › Add Repeater entries from front end with GF › Reply To: Add Repeater entries from front end with GF
Hi @Jaypee
If all that is needed is a textarea, it will be much easier to code this yourself.
1. Create a custom page template for the page
2. Code a <form>
that contains a textarea field
3. Add some PHP to the top of the template which can detect if the post has been submit
4. If a submission is detected, run some custom logic.
5. This logic can use the get_field
function to get the repeater field, and then append a new row using the posted textarea value, and the current logged in user ID (from a WP function), now just use update_field
to save the repeater value.
Please read the docs for both update_field and repeater.
Thanks
E
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.