Title: Shorcode inside field
Last modified: August 28, 2021

---

# Shorcode inside field

 *  Resolved [ensedese](https://wordpress.org/support/users/ensedese/)
 * (@ensedese)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/shorcode-inside-field/)
 * Hi, I tried to put a shortcode of a template of elementor inside of a html field
   but when the page loads it just shows the same shortcode, not the template, could
   you help out with this, I will appreciated much
    -  This topic was modified 4 years, 9 months ago by [ensedese](https://wordpress.org/support/users/ensedese/).

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

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/shorcode-inside-field/#post-14813811)
 * Hello [@ensedese](https://wordpress.org/support/users/ensedese/)
 * No, the plugin does not replace third-party shortcodes. We cannot guarantee the
   generated code does not break the form’s structure.
 * To display the information generated by third-party plugins into the form, you
   must follow the steps below.
 * – Insert the third-party shortcode into a DIV tag directly on the page’s content:
 * `<div class="outer-tag">[the-shortcode-here]</div>`
 * – Insert an “HTML Content” field in the form with the following piece of code
   as its content:
 *     ```
       <div class="inside-tag"></div>
       <script>fbuilderjQuery(document).one('showHideDevEvent', function(){
       jQuery('.outer-tag').appendTo('.inside-tag');
       });</script>
       ```
   
 * Best regards.
 *  Thread Starter [ensedese](https://wordpress.org/support/users/ensedese/)
 * (@ensedese)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/shorcode-inside-field/#post-14813878)
 * Thanks for the quick response I tried to use the script but doesn’t work to me,
   shows again the shortcode.
 * I better try to explain what I did. I built a calculator form to obtain a volumen
   of a room, if the multiplication is less than 100 shows a determinated content
   but how I said before this content was designed in a template of elementor, please
   if you give a quick checking maybe you could see the this issue, thanks
 * [my web site](https://steamlife305.com/shop-default/idream-steam-shower-package/)
   go to “Enter room dimension” section
    -  This reply was modified 4 years, 9 months ago by [ensedese](https://wordpress.org/support/users/ensedese/).
    -  This reply was modified 4 years, 9 months ago by [ensedese](https://wordpress.org/support/users/ensedese/).
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/shorcode-inside-field/#post-14813918)
 * Hello [@ensedese](https://wordpress.org/support/users/ensedese/)
 * You cannot insert third-party shortcodes directly into the form because our plugin
   will not replace them.
 * Please, follow the steps below:
 * 1. Insert the following piece of code directly into the page’s content. I’m talking
   about the page’s content and not the form:
 * `<div class="outer-tag" style="display:none;">[elementor-template id="43608"]
   </div>`
 * 2. Replace the content of the “HTML Content” field fieldname8 with the following
   piece of code:
 *     ```
       <div class="inside-tag"></div>
       <script>fbuilderjQuery(document).one('showHideDevEvent', function(){
       jQuery('.inside-tag').html(jQuery('.outer-tag').html());
       });</script>
       ```
   
 * And that’s all.
    Best regards.
 *  Thread Starter [ensedese](https://wordpress.org/support/users/ensedese/)
 * (@ensedese)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/shorcode-inside-field/#post-14813992)
 * Thanks again for your quick response!, I tried it again how you explained but
   still doesn’t work, I presume that is because the form is not in a page but is
   in a woocommerce product template made with elementor, in this case first I put
   the div tag in the woocommerce product editor and then inside the product template
   but in both cases not worked, is a shame! the plugin is aweson and saved my head
   with this calculator!
    Well I very aprecited your help! Thanks any way!
    -  This reply was modified 4 years, 9 months ago by [ensedese](https://wordpress.org/support/users/ensedese/).
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/shorcode-inside-field/#post-14814041)
 * Hello [@ensedese](https://wordpress.org/support/users/ensedese/)
 * When the shortcode is inserted directly on the page’s content, its replacement
   does not depend on our plugin. It should be replaced by Elementor. The code I
   sent you previously should take the HTML tags generated by Elementor after replacing
   the shortcode, and move it into the form.
 * If you check the source code of your web page, you can see that Elementor has
   not replaced the shortcode (please, look at the screenshot below). But as I see
   above, this time our plugin does not participate in this process:
 * ![](https://i0.wp.com/resources.developers4web.com/cff/tmp/2021/08/28/screenshot.
   png?ssl=1)
 * Best regards.
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/shorcode-inside-field/#post-14814370)
 * Hello [@ensedese](https://wordpress.org/support/users/ensedese/)
 * I’ve visited your website and it is working fine now.
 * Best regards.

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

The topic ‘Shorcode inside field’ is closed to new replies.

 * ![](https://ps.w.org/calculated-fields-form/assets/icon-256x256.jpg?rev=1734377)
 * [Calculated Fields Form](https://wordpress.org/plugins/calculated-fields-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/calculated-fields-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/calculated-fields-form/)
 * [Active Topics](https://wordpress.org/support/plugin/calculated-fields-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/calculated-fields-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/calculated-fields-form/reviews/)

## Tags

 * [field](https://wordpress.org/support/topic-tag/field/)
 * [html](https://wordpress.org/support/topic-tag/html/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 6 replies
 * 2 participants
 * Last reply from: [codepeople](https://wordpress.org/support/users/codepeople/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/shorcode-inside-field/#post-14814370)
 * Status: resolved