Support › MB Settings Page › Suggesting a Logic and Validation for Multiple checboxResolved
I'm trying to validate my checkboxes
If I select a Checkbox the others disappear and vice versa
this is my Meta
and my Function is a mess:
Because I'm trying to validate not only if is active also if an input is filled show Only this input if both are filled show both .
My brain is simple freezed, because I can think in a good solution .
I see your code to register meta boxes has no problem. Do you want to optimize the code to get the values (and show them) in the frontend? By reducing the number of IF checks?