Title: Contact form short code not working
Last modified: September 5, 2016

---

# Contact form short code not working

 *  Resolved [inimish](https://wordpress.org/support/users/inimish/)
 * (@inimish)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/contact-form-short-code-not-working/)
 * I am using the following shortcode in my table.
 * [contact-form-7 id=”4416″ title=”Zone”]
 * I am not able to see the fields and the submit button of the contact form.
 * My requirement is to have a separate contact form for every contact in the table

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

 *  Plugin Author [MyThirdEye](https://wordpress.org/support/users/mythirdeye/)
 * (@mythirdeye)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/contact-form-short-code-not-working/#post-8141911)
 * Hi Inimish,
 * So I realized I haven’t included this functionality yet. However, its very simple
   to add. I’m super glad you asked this question and brought this up because shortcodes
   in general were not working within the table.
 * If you change this line in jtrt-tables/admin/partials/jtrt-responsive-tables-
   shortcode-gen.php, line:36
    `return $htmlContent;`
 * to this
    `return do_shortcode($htmlContent);`
 * the shortcode should now be properly executed. However, I should note that normally
   Form elements are not allowed within tables or table cells. Your form will not
   show up properly because its invalid html to put form inside a tr/td.
 * Here is what an example form element inside a table looks like (note i didnt 
   do any styling, I just added a shortcode to the table) ![image]([http://i.imgur.com/7pWIUhx.jpg](http://i.imgur.com/7pWIUhx.jpg))
 * Again thank you for bringing this to my attention, it looks like I skipped over
   this super simple easy method to hook into other shortcodes within the table.
   I will include this as a fix/feature for the next update 😛
 * Thanks
    John
 *  Plugin Author [MyThirdEye](https://wordpress.org/support/users/mythirdeye/)
 * (@mythirdeye)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/contact-form-short-code-not-working/#post-8236338)
 * I have fixed this issue for the upcoming update. Thanks again for bringing this
   to my attention!

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

The topic ‘Contact form short code not working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jtrt-responsive-tables_7fb7dc.svg)
 * [JTRT Responsive Tables](https://wordpress.org/plugins/jtrt-responsive-tables/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jtrt-responsive-tables/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jtrt-responsive-tables/)
 * [Active Topics](https://wordpress.org/support/plugin/jtrt-responsive-tables/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jtrt-responsive-tables/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jtrt-responsive-tables/reviews/)

## Tags

 * [contact-form](https://wordpress.org/support/topic-tag/contact-form/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)
 * [table](https://wordpress.org/support/topic-tag/table/)

 * 2 replies
 * 2 participants
 * Last reply from: [MyThirdEye](https://wordpress.org/support/users/mythirdeye/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/contact-form-short-code-not-working/#post-8236338)
 * Status: resolved