This is my form:
------------------------
[wpv-filter-start hide="false"]
[wpv-filter-controls]
<div class="form-group">
<label>[wpml-string context="wpv-views"]Price[/wpml-string]</label>
<div id="price-slider"></div>
[wpv-control-postmeta field="wpcf-price" url_param="wpv-wpcf-price_min"]
[wpv-control-postmeta field="wpcf-price" url_param="wpv-wpcf-price_max"]
<input type="checkbox" value="10" > 0 - 10
<input type="checkbox" value="20" > 10 - 20
[wpv-filter-submit output="bootstrap"]
[wpv-form-view]
</div>
[wpv-filter-end]
I need to set below two fields as hidden field by default
[wpv-control-postmeta field="wpcf-price" url_param="wpv-wpcf-price_min"]
[wpv-control-postmeta field="wpcf-price" url_param="wpv-wpcf-price_max"]
Note: [wpv-control-postmeta type = 'hidden" field="wpcf-price" url_param="wpv-wpcf-price_min"] this is not working
Hi, could you just delete them? Anyway, if you want to include them but you want to hide them from your users, it's easiest to just wrap them in a hidden div like this:
<div style="display:none;">
[wpv-control-postmeta field="wpcf-price" url_param="wpv-wpcf-price_min"]
[wpv-control-postmeta field="wpcf-price" url_param="wpv-wpcf-price_max"]
</div>
They will still be present in the page source code, but they will not be shown.
Thanks Chritian, this is not the right way but any how my expectation is achieved thanks for your suggestion.