{"id":9395491,"date":"2017-08-09T17:14:37","date_gmt":"2017-08-09T17:14:37","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/required-hidden-fields\/"},"modified":"2017-08-09T17:14:37","modified_gmt":"2017-08-09T17:14:37","slug":"required-hidden-fields","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/required-hidden-fields\/","title":{"rendered":"required hidden fields"},"content":{"rendered":"<p>Hi there,<\/p>\n<p>I have a contact form to invite people. My first field is &#8220;I come to your party YES\/NO&#8221;.<\/p>\n<p>Second (required) field is &#8220;how many people&#8221;, with a condition that this field is only visible if the person comes, depending on first field. But if I check &#8220;I can NOT come&#8221; the second, required field needs still to be filled. How can I fix this?<\/p>\n","protected":false},"template":"","class_list":["post-9395491","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9395491","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\/9395491\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9395491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}