Hello,
I want to know, is there any chance to render only visible fields based on their Dependencies?
For example, I have many fields in template with conditional logic. But all their values stored in DB, and render in loop with $page->$fields.
I could duplicate logic in PHP, but It's seems very inefficient. I couldn't find any API command for such task. Something like flag "isShown". More over, there isn't such flags when I printed array.
I just can't find it, or this data keeps somewhere outside? Or is there some other ability to achieve this?
Thanks for any advise in advance.