{"id":18836309,"date":"2026-02-27T19:12:21","date_gmt":"2026-02-27T19:12:21","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/conditional-problem-2\/"},"modified":"2026-02-27T19:15:33","modified_gmt":"2026-02-27T19:15:33","slug":"conditional-problem-2","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/conditional-problem-2\/","title":{"rendered":"conditional problem"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I have a field that should only appear if a previous option in a radio is selected. In the preview it works fine, but it doesn&#8217;t work when I check the form in the real page. It seems like a problem with javascript but I do not see anything related in the console. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The condition appear with the 2nd radio in the section: &#8220;Etiquetatge a Xarxes Socials&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Any idea? Thanks!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">https:\/\/traveladic.com\/ca\/drets-dimatge\/<\/p>\n","protected":false},"template":"","class_list":["post-18836309","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18836309","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":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18836309\/revisions"}],"predecessor-version":[{"id":18836316,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18836309\/revisions\/18836316"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18836309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}