hi @Nechalon you can do anything you want around the fieldset component in your blade file, so if you want to conditionally hide it when no values are inside it, you can check the $item variable. I'm curious about this use case though, how would your admin users fill out these fields if you are not showing them? Or maybe you just mean you want the fieldset to be collapsed?
n
Nechalon
04/18/2023, 12:53 PM
Oh, I meant it on the front page.
So I add a few formfields inside a section or fieldset, and I fill that in the admin panel (I input some data to those fields), then it should show on the front page.
But if none of the fields are filled in the admin page, then that item, course, or whatever it is shouldnt show at all on the front page.
Nechalon
04/18/2023, 12:54 PM
so, the admin user would always see the form fields, just not on the front page if its not filled.
i
ifox
04/18/2023, 1:17 PM
got it. well you would add conditions to check if the data is empty or not before rendering anything on your frontend