use shortcode in an HTML field

[ad_1]

Hello @graicifyd

The plugin does not support third-party shortcodes. The forms are rendered on the client-side, and we cannot ensure the third-party code does not break the form structure.

The alternative would be to insert the third-party shortcode into the page’s content and then move the resulting HTML tags into the form.

For example, if you insert the third-party shortcode into the page’s content as follows:

<div class="third-party-shortcode" style="display:none;">[shortcode-here]</div>

You can insert an “HTML Content” field in the form with the following piece of code as its content:

<div class="display-shortcode-result-here"></div>
<script>
fbuilderjQuery(document).one('showHideDepEvent', function(){
jQuery('.display-shortcode-result-here').html(jQuery('.third-party-shortcode').html());
});
</script>

Best regards.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer