Support

Account

Home Forums Add-ons Repeater Field Repeater with required subfields not saving

Solved

Repeater with required subfields not saving

  • …actually, not triggering save form at all.

    I tried the following combinations:
    – Repeater required, subfield required = not triggering form save
    – Repeater required, subfield not required = not triggering form save
    – Repeater optional, subfield required – not triggering form save
    – Repeater optiona, subfield options – form save works

    However, I need the subfield to be required – am I doing something wrong?

    Also, what’s the purpose of a repeater field being ‘required’?

  • ahh… I apologize for this, it’s slightly irrelevant to the repeater field after, but thought I’d post the solution anyway just in case someone else is exhausted like me and can’t figure out the solution.

    I had enabled parsley validation, and due to the way the repeater element works, it was expecting validation from the hidden acf-clone element…

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

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.