• Resolved theotest

    (@theotest)


    Hi everybody,

    I’m pretty new to WP and after already having finished my website, I got a strange problem with this plugin:

    It simply does not render the form fields (but the form tags around are displayed). In addition, it renders the following JS-code as plain text inside my template:

    (function() { if (!window.mc4wp) { window.mc4wp = { listeners: [], forms : { on: function (event, callback) { window.mc4wp.listeners.push({ event : event, callback: callback }); } } } } })();

    Anybody got a clue what I’m doing wrong?

    Thx and best regards!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Lap

    (@lapzor)

    Can you share a link to where I can see this happen?

    How did you insert the form in your page, via the shortcode or another way?

    ​Thanks for letting us know.

    Thread Starter theotest

    (@theotest)

    Hi, and thx for your quick reply :)!

    Unfortunately I can’t share a link, because the project isn’t released yet. But it’s happening within this template: http://3theme.com/tf004/landing/

    I’ve simply put the shortcode inside a textfield inside a mixbox. What might be an issue: I didn’t register this shortcode the way I registered the other shortcodes in a php file, because your plugin documentation didn’t mention this.

    Other shortcodes I’ve written by myself are working fine with the template above.

    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hello,

    Thanks for reaching out to us.

    Since we have not tested this theme, it would be difficult for us to debug it without checking your website. Can you please let us know if you add our shortcode to a normal post or page, does it show the form?

    Thread Starter theotest

    (@theotest)

    Hi,

    I’ve created a test page without any template integration and all the form fields are displayed.

    As there’s the JS-code as plain text within my template page, there might be a HTML pre-tag somehow surrounding the place where the JS-code should be loaded.

    • This reply was modified 5 years, 10 months ago by theotest.
    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hello,

    I am not sure I understood your last reply. I presume the issue is resolved and not related to our plugin. I’ll mark this topic as resolved but please let us know if you still are facing any issue with our plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Form Fields not displayed’ is closed to new replies.