Support

Account

Home Forums Bug Reports TrueFalse/Checkbox Fields are **Always** required in Options page Field Groups.

Unread

TrueFalse/Checkbox Fields are **Always** required in Options page Field Groups.

    • JulioFM

    • April 30, 2020 at 4:17 am

    I was trying to set up a Field Group, inside a options sub page with some conditional fields, so the conditional field would only show up when the True/False was unchecked, the problem is that it set the field as required, despite me not setting it as required or even by me setting the option to 0. (This was configured in code)

    No matter what, the True/False field was required, so it would only allow me to save the options if the field was checked, which beats the point of it.

    This wasn’t only happening with the True/False that were used in the conditional later on any True/False is required on the options page by default.

    If anyone else runs into this issue my solution was using a Select field and later on translating that into a boolean. Β―\_(ツ)_/Β―

Viewing 1 post (of 1 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.