Custom Fields
Support MB Settings Page Suggesting a Logic and Validation for Multiple checbox

  • Creator
  • #6671
    Resolved Locke

    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 .

    Thank you

Viewing 1 replies (of 1 total)
  • Author
  • #6710
    Anh Tran


    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?

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.