- This topic has 3 replies, 2 voices, and was last updated 2 weeks, 3 days ago by .
I using the "MB Custom Table" extension along with the "Meta Box Show Hide" extension.
From my experience, it doesn't integrate as expected.
Let me describe my situation:
First I'm registering a meta box that outputs a single taxonomy field called "type", which has 3 terms to choose from.
There are 3 more meta boxes registered, each one associated with each term. The meta boxes are shown only when the associated term is selected (with the 'show' argument of the meta box).
Also, each meta box is associated with a custom table.
My problem is, even though the other meta boxes are hidden, their values are saved in the custom table. It creates a row for that post in each custom table of each meta box with empty values (or default values that some fields there have).
Is it possible to ignore the saving process when the other meta boxes are hidden?
Tried to use the Include Exclude extension too, but I don't want to make the users click on save and then fill up the meta box that will show after the page loads.
Thank you for your help!
- You must be logged in to reply to this topic.