Support

Solved

Taxonomy-checkboxes

Home Forums General Issues Taxonomy-checkboxes

    • TimTee

    • August 16, 2013 at 11:22 am

    Perhaps I’m missing something very simple.

    I have a custom fields I’ve set to show on the options page. It’s a taxonomy field set to categories, using multi-values checkboxes so the admin guy can select multiple categories. This works if I use multi-select, but if I use checkboxes, selecting a checkbox on the options page refreshes the page and nothing is on the page, no fields just the options title with it’s icon.

    What am I missing here?
    thx!

    ps.
    All versions up to date.
    I have
    required: no
    allow null: yes
    Load & Save Terms to Post: unchecked
    Return Value: term object
    and conditional logic: no

      • TimTee

      • August 16, 2013 at 11:49 am

      To add, after googling this I see taxonomy is an add-on? I didn’t add an add-on for this, and can’t find much documentation on this.

      edit: tested this with a clean WP install, just a new ACF plugin and latest options plugin. This works fine if on a page template, but on the options page, checking a checkbox causes any custom fields on the options page to disappear.

        • elliot

        • August 16, 2013 at 2:42 pm

        Hi @TimTee

        Yes, this is a current bug which will be fixed in the next version of ACF.

        Very sorry about the issue but you can expect a fix within the next few days,

        Thanks
        E

          • TimTee

          • August 16, 2013 at 10:10 pm

          Thanks for your reply. So I’m not nuts ;) is it a few days for sure? Just asking as I have a deadline for middle of next week and I kinda promised this feature. I can use the multi select fields for now as it works, but it’s really kludgy in comparison. When a fix comes in a few days I can switch it. Just don’t want to do it live because this affects all the content on the front page if possible.
          thx!

            • elliot

            • August 19, 2013 at 12:40 pm

            Hi @TimTee

            ACF v4.2.2 is out and will fix your issue

            Thanks
            E

            • TimTee

            • August 20, 2013 at 12:55 am

            fantastic! thx I’ll check this out this morning and post back.

            thx!

              • TimTee

              • August 20, 2013 at 2:13 am

              totally fixed it appears. Thx so much for the quick fix!

                • pfitz

                • August 29, 2013 at 9:53 pm

                I’m afraid the problem is still there for me. I’m using a Taxonomy field and checkboxes, and the Field Group is for ‘Attachment is equal to all’. Any time user clicks on any checkbox in the field, the page reloads and the custom fields disappear – just as reported initially above. Love ACF, this issue not so much! Peter

                  • pfitz

                  • August 29, 2013 at 9:54 pm

                  Sorry, should have added that I’m using ACF v4.2.2.

                    • elliot

                    • August 30, 2013 at 2:46 pm

                    Hi @pfitz

                    Just to confirm, the issue is when you have the check-box field appearing on the media POPUP window?

                    Thanks
                    E

                      • pfitz

                      • August 30, 2013 at 6:21 pm

                      Thanks for the quick response. It occurs when I go into the Media Library and add then edit a new image or edit an existing one. The edit page comes us correctly initially, with the custom fields, but clicking any of the checkboxes causes it to reload and lose the custom fields. I have the fields divided into three tabs, if that makes any difference. Like TimTee above, I’ve switched to a multi-select field as a stopgap, and that works but it’s not as good.
                      There’s no POPUPs involved, as far as I can see, but I may not be understanding your question.
                      Thanks, Peter

                        • elliot

                        • September 25, 2013 at 6:23 pm

                        Hi @pfitz

                        Thanks for the info. I believe I have tracked down and solved the issue. You can download the latest ACF from github and test it out.

                        Let me know if it solves your issue

                        Cheers
                        E

                          • pfitz

                          • September 26, 2013 at 10:01 am

                          Hi Elliot,

                          I had a go at the latest ACF. Results are mixed: checkboxes do now work, and previous information (stored with previous version of ACF) is retained between multi-select and the checkboxes. However – and this is possibly because I am using the taxonomy with images / attachments and not with posts (I didn’t test it with posts), this occurs: all the fields and their values are listed with no elaborate formatting, and then underneath they are listed again properly formatted with tabbing. Only changes made to the checkboxes in the second listing are retained on clicking ‘update’. I reverted back to the previous ACF and all is working – though only if using multi-select, as before.

                          Thanks for persisting with this.

                          Best, Peter

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

                          You must be logged in to reply to this topic.