Title: Submit button issue
Last modified: April 22, 2019

---

# Submit button issue

 *  Resolved [snehanegi04](https://wordpress.org/support/users/snehanegi04/)
 * (@snehanegi04)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/submit-button-issue-6/)
 * Hi,
 * I have created a form using the plugin and on submitting the form, the user is
   able to see the html code instead of submit response or redirect to different
   URL.
 * Please help.
    -  This topic was modified 7 years, 1 month ago by [snehanegi04](https://wordpress.org/support/users/snehanegi04/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsubmit-button-issue-6%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [thethemefoundry](https://wordpress.org/support/users/thethemefoundry/)
 * (@thethemefoundry)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/submit-button-issue-6/#post-11454194)
 * Hey there, [@snehanegi04](https://wordpress.org/support/users/snehanegi04/) 👋
 * Poking around your page, it looks like your WordPress theme is missing [wp_footer](https://codex.wordpress.org/Function_Reference/wp_footer)
   function call in source files. Would you mind double-checking that and inserting
   the function right before the `</body>` ending tag? That should patch it up for
   you.
 * Let us know how you go! 🙂
 *  Thread Starter [snehanegi04](https://wordpress.org/support/users/snehanegi04/)
 * (@snehanegi04)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/submit-button-issue-6/#post-11454288)
 * Hi Team,
 * We have added wp_footer() function still we are getting response in JSON Format,
   kindly help us resolving this issue.
 * For example code:
    <!doctype html> <html style=”margin-top:0px !important;”> 
   <body> <?php /* Template Name: register
 * */
    echo do_shortcode(‘[happyforms id=”1156″ /]’); wp_footer();?> </body> <?php//
   wp_footer(); ?> </html>
 *  [thethemefoundry](https://wordpress.org/support/users/thethemefoundry/)
 * (@thethemefoundry)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/submit-button-issue-6/#post-11457013)
 * Thanks, [@snehanegi04](https://wordpress.org/support/users/snehanegi04/)! Footer
   scripts are now showing up successfully. Good job! 👏
 * To ensure HappyForms is working correctly and is loading all its dependencies,
   you’ll need to add `wp_head()` function before the `</head>` ending tag. Would
   you mind adding that one in too? That should fix it up right away.
 * Hope this helps!
    -  This reply was modified 7 years, 1 month ago by [thethemefoundry](https://wordpress.org/support/users/thethemefoundry/).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Submit button issue’ is closed to new replies.

 * ![](https://ps.w.org/happyforms/assets/icon-256x256.png?rev=2778164)
 * [Happyforms - Form Builder for WordPress: Drag & Drop Contact Forms, Surveys, Payments & Multipurpose Forms](https://wordpress.org/plugins/happyforms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/happyforms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/happyforms/)
 * [Active Topics](https://wordpress.org/support/plugin/happyforms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/happyforms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/happyforms/reviews/)

## Tags

 * [forms](https://wordpress.org/support/topic-tag/forms/)

 * 3 replies
 * 2 participants
 * Last reply from: [thethemefoundry](https://wordpress.org/support/users/thethemefoundry/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/submit-button-issue-6/#post-11457013)
 * Status: resolved