Title: Adding shortcode from another plugin
Last modified: August 30, 2016

---

# Adding shortcode from another plugin

 *  Resolved [ranishachar](https://wordpress.org/support/users/ranishachar/)
 * (@ranishachar)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/adding-shortcode-from-another-plugin/)
 * Hi,
    Is it possible to add a shortcode from another plugin (like tablepress for
   example) to a field? I want to add a table to a form field, which will be displayed
   based on a dependency I have created on another field.
 * Thanks again,
    Rani
 * [https://wordpress.org/plugins/calculated-fields-form/](https://wordpress.org/plugins/calculated-fields-form/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/adding-shortcode-from-another-plugin/#post-6604572)
 * Hi,
 * Not directly, I’m sorry, but you can do the following:
 * Insert both shortcodes by separated in the same page, but inserts the shortcode
   of the “tablepress” into a <div> tag, as follows:
 * `<div id="mytablepress" style="display:none;">...</div>`
 * Tip: Inserts the HTML tags with the “Text” tab active in the content’s editor,
   or the symbols: `"<"`, and `">"`, are converted in `"<"` and `">"` respectively.
 * and then, insert in the form a “HTML Content” field, and assign to it a class
   name, through the attribute: “Add Css Layout Keywords”, for example: mycontainer
 * and finally, as part of one of the equations in your form, use the following 
   code:
 * `jQuery( '.mycontainer' ).html( jQuery( '#mytablepress' ).html() );`
 * and that’s all.
    Best regards.

Viewing 1 replies (of 1 total)

The topic ‘Adding shortcode from another plugin’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [codepeople](https://wordpress.org/support/users/codepeople/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/adding-shortcode-from-another-plugin/#post-6604572)
 * Status: resolved