Support

Account

Home Forums General Issues Reading/Saving conditional fields that are not on screen

Unread

Reading/Saving conditional fields that are not on screen

  • Given the following scenario:

    • Custom post type: “Products”
    • Taxonomy: “Product categories”
    • Terms/Categories: “Cat1, Cat2, Cat3, Cat4 and Cat5“.
    • Group fields: “Groupfield 1, 2, 3, 4 and 5” – each of those holds up 50 subfields.

    Using conditional logic, I can have “Groupfield 1” show when I assign the post to “Cat1“, same with “Groupfield 2” & “Cat2“, and so on. This way (if each fieldgroup is composed by 50 subfields each) I will have only 50 fields on screen at any time.

    This is clear and have no issue with any of that.

    What I would like to know is: given a POST under “Cat1” (and hence showing only “Groupfield 1”), and given each groupfield is composed by 50 fields:

    • Every time I OPEN a post, would ACF/Wordpress have to load (50*5) 250 fields?
    • Every time I SAVE a post, would ACF/Wordpress have to save those 250 fields again?

    Or would WordPress/ACF read/save only those 50 fields that do show up?

    I’m greatly concerned with performance and stability: I’d rather find another way than having a site that takes 30 seconds to save or open a post, so before I start working in this direction, could you please give me an answer? The sooner the better as I’m literally gonna wait of a reply of yours/your staff.

    Thanks in advance!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.