Home › Forums › Add-ons › Repeater Field › Front-end forms and repeater fields – only show new entry row › Reply To: Front-end forms and repeater fields – only show new entry row
Thanks @jarvis I’ll give this a shot. I did come up with a “solution” but it’s super hacky and vulnerable.
I wrote some JS to find all completed form elements above the “add row” button, set their attributes to hidden, and updated both display and pointer-events css attributes to none.
Of course, anyone savvy enough to inspect the code can undo all of this and still modify the data, but it’s unlikely.
I’ll give your approach a go though as that’s a lot safer! Thank you.
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.