Juliette
Juliette
Hi @wpsoul, thanks for reporting & providing a solution. I've come up with a slightly simpler solution and I'm wondering if that would solve it just the same. Unfortunately I...
On second thought, I don't think the alternative will work. All the same, I'm interested to hear what other changes you've made to the plugin. Anything you think might be...
Oh and also FYI - you can see the exact changes I made in the commit to that specific branch: https://github.com/jrfnl/cmb2-conditionals/commit/d7c766255c2a16638a905df2ed448386c6f0394a
@cooms13 That sounds like a great solution! Would you be willing to send in a PR ? @wpsoul - could you test that it works for your use-case as well...
@cooms13 > Should the selector be more greedy than .cmb2-row? Should it apply to that and EVERYTHING below it? Good point. The script in general looks at html elements within...
Hi @cooms13 _grin_ I was thinking along the same lines earlier - https://github.com/jcchavezs/cmb2-conditionals/issues/22#issuecomment-224283925 :sunglasses: Unfortunately, I now don't think that will work as we need to pick up on the...
> just so I'm clear, as a rule, if a required field is "hidden", should the form submit? Yes it should - "required" should only be enforced for visible fields.
> So, I just tested it. ... It submitted successfully. Great! Would be nice if some more people could test it as well, but if you're confident about that the...
I tried to use cmb2 conditionals with frontend form editing of the snippet lib, and its not working.
You'll need to enqueue the CMB2-conditionals JS file. This is not done automatically for non-CPT pages. There currently isn't a great way to do this other than enqueueing the script...
I've been working on patching both the issues contained in this thread: 1. Conditional groups (original issue from @fujianto ) - see https://github.com/jrfnl/cmb2-conditionals/tree/feature/fix-issue-2-group-conditionals 2. Fields conditional on other fields within...