{"id":17682011,"date":"2024-04-12T09:17:37","date_gmt":"2024-04-12T09:17:37","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/call-wp-forms\/"},"modified":"2024-04-12T09:18:13","modified_gmt":"2024-04-12T09:18:13","slug":"call-wp-forms","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/call-wp-forms\/","title":{"rendered":"Call WP Forms &#8211; Javascript"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi, i have a site with seamless navigation. So when i open a new page, i need to trigger all my scripts to work properly. In fact i have a problem with WP Forms.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If I directly open the page where the form is present, this works perfectly! So it&#8217;s not a conflict problem&#8230; But if I get to the page where the form is present from other pages, when I send it, I have some problems. It probably didn&#8217;t load or trigger all the necessary scripts.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To avoid problems, I still flagged the option to load all WP Forms assets on any page. This helped because now the form is displayed correctly. But I think there must be some additional scripts to trigger, and I can&#8217;t imagine what they are. Javascript content is loaded, but not executed.<br \/><br \/>So, what functions do I need to call to make everything work properly when i load the page?<\/p>\n","protected":false},"template":"","class_list":["post-17682011","topic","type-topic","status-publish","hentry","topic-tag-javascript","topic-tag-trigger"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17682011","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\/17682011\/revisions"}],"predecessor-version":[{"id":17682014,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17682011\/revisions\/17682014"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=17682011"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}