Home › Forums › Front-end Issues › Font-end search form for a subfield › Reply To: Font-end search form for a subfield
Hello, yes this helps me a lot !! I’ll give it a try asap.
I just have a concern : what if the $max_rows is 10 (for example) and I have only 2 or 3 rows in most of my posts ?
$repeater.’_’.$row.’_’$sufield2 would then point to something that doesn’t exist in the db, doesn’t it ?
What if I insert the “for” loop in the “while” loop ? For each post it would make the right amount of loops and I reset the $max_posts at the end of the post loop.
Thanks a lot, I will try to start with your idea 🙂
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.