Quantcast
Viewing all articles
Browse latest Browse all 20145

Remove page content depending on view selection

On <a href="http://cleanairlawncarenorthernvirginia.com/contact/?wpv_view_count=1&zip=0&wpv_filter_submit=Get+a+Quote">this page</a>, I would like to not have any content appear unless a user selects a zip code from the drop down.
The following is the view template 'Contact' and I have attached a screenshot of the view 'Contact'

[wpv-if field="wpcf-local-number" evaluate="!empty($field)"]
Phone: [types field="local-number"][/types]<br />[/wpv-if]
[wpv-if field="wpcf-toll-free-number" evaluate="!empty($field)"]
Phone: [types field="toll-free-number"][/types]<br />[/wpv-if]

[wpv-if evaluate="'[wpv-post-taxonomy type="zip-code" separator="" format="text"]' != ''"]
[[types field="contact-form" class="" style=""][/types]]
[/wpv-if]

I have read the docs and searched the forum, but am not sure how to do this.

Thank you.


Viewing all articles
Browse latest Browse all 20145

Trending Articles