{"id":9018690,"date":"2017-04-11T12:33:32","date_gmt":"2017-04-11T12:33:32","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/conditional-fields-dont-work-when-embedding-form-in-template\/"},"modified":"2017-04-11T12:33:32","modified_gmt":"2017-04-11T12:33:32","slug":"conditional-fields-dont-work-when-embedding-form-in-template","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/conditional-fields-dont-work-when-embedding-form-in-template\/","title":{"rendered":"Conditional Fields Don\u2019t Work When Embedding Form in Template"},"content":{"rendered":"<p>As the title states \u2013 I created a form with a conditional field, and have embedded the form into my template. The conditional field doesn\u2019t work.<\/p>\n<p>I checked the form on its own page, and the conditional field works fine.<\/p>\n<p>Here\u2019s a page with the form and conditional fields working as intended: http:\/\/staging3.pacelink.com\/777-2\/<\/p>\n<p>On every page, I\u2019d like the form to be in the tab on the left (after you scroll down a bit) that says \u201cFeedback\u201d \u2013 but as you can see, the Email\/Phone Number fields are showing, instead of toggling on when \u201cContact Me\u201d is checked: http:\/\/staging3.pacelink.com\/<\/p>\n","protected":false},"template":"","class_list":["post-9018690","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9018690","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9018690\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9018690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}