Home › Forums › General Issues › Add value to url field inside repeater › Reply To: Add value to url field inside repeater
Hi James,
In fact, my problem is solved. It was a too long fieldname because of the field and subfield. It’s working very nicely with field key. What I wanted to say it’s why associate a field name if I can’t use it. As I said, I used the input name in $_POST and $_FILES as field name. I created a loop foreach and I used the key ($key => $value) as the field name because it’s natural more than field key. I needed to go in table and look the field key in table associated with the field name. After, created a conditional to associate the right field key with field name. So, for me, it’s a wrong use.
It’s my opinion.
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!
Accordions are a great way to group related information while allowing users to interactively show and hide content. In this video, Damon Cook goes in-depth on how to create an accessible accordion block using ACF PRO’s Repeater field.https://t.co/RXT0g25akN
— Advanced Custom Fields (@wp_acf) March 2, 2023
© 2023 Advanced Custom Fields.
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.