• Resolved inimish

    (@inimish)


    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

    (@mythirdeye)

    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)

    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

    (@mythirdeye)

    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.