Can something like this be done on CF7? Can it be done with CSS, I’ve done considerable reasearch and havent found a way to do this..ideally I’d like to do this with an existing form/plugin and not do it all from scratch
Don’t know how to create/customize
2
Answers
This will disable the click event
This will hide the checkbox
.hybriddd-option .hybriddd-l0 .hybridddcb { display: none; }
I developed a JavaScript plugin, the HybridDropddown field for this kind of listing.
In addition, the Smart Grid-layout extension for CF7 allows you to builf
dynamic_checkbox
field tags which you can populate with your WordPress categories and format as a HybridDowdown field. The HybridDrodown uses checkbox inputs, but you can change thier visibilty using CSS as the entire dropdown is can be customised with CSS.The following CF7 tag,
would use the category terms to populate the dropdown,
The above displays terms with parent (as label), children (as option), grandchildren (as option), by default it uses the first level as labels and the subsequent branch of terms as options with each child branch indented relative to its parent.
If you need to customise this layout, say you want the 1st 2 level of branching to be labels and the 3rd level of branching to be options, then you have 3 ways to achieve this
For more information on dynamic checkbox fields see this tutorial.