Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 504799

Conditions

$
0
0

Replies: 0

Hello!

I’m creating quite difficult form and I have some troubles with conditions.
I have HTML (or hidden) field there with {embed_post:post_title} tag and I need to use result of this field as a condition – when this field is *NAME OF COUNTRY* (I have one page for every country) then hide one field and show another. How can I do it?

And maybe more difficult solution – can I do condition based on post type of {embed_post:post_title} tag?
For example I have special post type named ‘States’ where is one page for every country – in URL it’s http://www…..cz/states/*country*. I would like to have condition to show dropdown selection field when the post in HTML field with {embed_post:post_title} tag is ‘States’ post type. Is it possible?

Thanks, I’m desperate.


Viewing all articles
Browse latest Browse all 504799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>