Home › Forums › ACF PRO › From textarea to repeater text lines › Reply To: From textarea to repeater text lines
Why do you want to use a textarea field in the post editor and convert it into a repeater field? Why not just use a repeater field?
The reason that I ask is that you’re still going to need the repeater field on the post editor, so this seems like a lot of extra work if the text area and repeater are both attached to the same post.
It would be possible, you would need to have a filter that runs on the acf save post hook: http://www.advancedcustomfields.com/resources/acfsave_post/ and then takes that value and adds values to the repeater, possibly with the update_field and update_sub_field functions in ACF
http://www.advancedcustomfields.com/resources/update_field/
http://www.advancedcustomfields.com/resources/update_sub_field/
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.