Tell us what you are trying to do?
I currently have a radio button for the 'Family Friendly' filter with "yes" and "no" as an option. I would like it to be a checkbox instead and only have "yes" as an option.
This is my current view:
[wpv-filter-start hide="false"]
[wpv-filter-controls]
<div class="form-groups">
<div class="form-group">
<label>[wpml-string context="wpv-views"]Location[/wpml-string]</label>
[wpv-control-post-taxonomy taxonomy="groups_area" type="select" default_label="All" format="%%NAME%% (%%COUNT%%)" url_param="wpv-groups_area"]
</div>
<div class="form-group">
<label>[wpml-string context="wpv-views"]Physical Demand[/wpml-string]</label>
[wpv-control-postmeta field="wpcf-renew-physical-demands" type="select" default_label="All" url_param="wpv-wpcf-renew-physical-demands"]
</div>
Thank you for getting in touch. I currently have a radio button for the 'Family Friendly' filter with "yes" and "no" as an option. I would like it to be a checkbox instead and only have "yes" as an option.
You say you have a radio button with yes and no. Is it a Radio button group ? Or were they created as single Radio buttons where yes and no are separate custom fields.
Can you send me a screenshot of the custom field on the backend under the custom field group settings In toolset->Custom Fields.
‘groups_childcare’ (Family Friendly) is a taxonomy, not a custom filed. I’m not sure if it’s a group or singles. Where can I check that?
I’m pulling ‘groups_childcare’ from a database API that stores this information.
This is the only custom filed I created for this post type:
‘groups_childcare’ (Family Friendly) is a taxonomy not a custom filed. I’m not sure if it’s a group or singles. Where can I check that?
I’m pulling ‘groups_childcare’ from a database API that stores this information.
This is the only custom filed I created for this post type:
I wasn't successful in accessing the site using the info you sent previously, however to change the filter to a checkbox, add the following to your filter type="checkboxes" right now it is type= "radio"
Secondly to remove the No Option you will need to hide this with css because for taxonomy you're not able to manually define the options.
When you've changed the option to checkboxes then you can send me a link to the live site page and I will provide you with the CSS to hide the No option.
Thanks,
Shane