Title: Usage inside a form
Last modified: September 11, 2018

---

# Usage inside a form

 *  Resolved [allampatu](https://wordpress.org/support/users/allampatu/)
 * (@allampatu)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/usage-inside-a-form/)
 * This is a great plugin but IMHO this is useless if it can’t be used inside a 
   form.
 * For example, the shortcode not run inside Contact form 7.
 * I hope in a future development.
 * Thanks

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

 *  Plugin Author [ozpital](https://wordpress.org/support/users/ozpital/)
 * (@ozpital)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/usage-inside-a-form/#post-10682823)
 * Hi [@allampatu](https://wordpress.org/support/users/allampatu/), I’ll look into
   this for you asap.
 *  Plugin Author [ozpital](https://wordpress.org/support/users/ozpital/)
 * (@ozpital)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/usage-inside-a-form/#post-10782511)
 * Hi [@allampatu](https://wordpress.org/support/users/allampatu/) , I’ve looked
   into this issue at last and realised this isn’t an issue with the plugin. It’s
   a common issue with Contact Form 7. A quick Google search revealed the answer:
   [https://wordpress.stackexchange.com/questions/45266/how-to-use-other-shortcodes-inside-contact-form-7-forms](https://wordpress.stackexchange.com/questions/45266/how-to-use-other-shortcodes-inside-contact-form-7-forms)
 * All you need to do is add the following to your functions.php:
 *     ```
       add_filter('wpcf7_form_elements', function($form) {
           return do_shortcode($form);
       });
       ```
   
 *  [greyhood](https://wordpress.org/support/users/greyhood/)
 * (@greyhood)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/usage-inside-a-form/#post-11142474)
 * I just pasted that exactly. It does add the We Transfer widget but looks like
   this:
 * ${label}
    [https://i.imgur.com/9Kb3sXi.png](https://i.imgur.com/9Kb3sXi.png)
 * And when you mouse over the add button it looks like this:
 * ${remaining}
    [https://i.imgur.com/oRYUjqE.png](https://i.imgur.com/oRYUjqE.png)
 * Any idea how to fix this?
    -  This reply was modified 7 years, 4 months ago by [greyhood](https://wordpress.org/support/users/greyhood/).
 *  Plugin Author [ozpital](https://wordpress.org/support/users/ozpital/)
 * (@ozpital)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/usage-inside-a-form/#post-11142617)
 * Oh plumbs.
    I’ll take a look at some point today and get back to you.
 *  [greyhood](https://wordpress.org/support/users/greyhood/)
 * (@greyhood)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/usage-inside-a-form/#post-11146743)
 * Thanks [@ozpital](https://wordpress.org/support/users/ozpital/)
 *  [StephenSkelly](https://wordpress.org/support/users/stephenskelly/)
 * (@stephenskelly)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/usage-inside-a-form/#post-11179982)
 * Hi, is this resolved, as i still seem to be having this issue. (im trying to 
   integrate into gravity forms, but facing the exact same problem)
 * Thanks in advance!
 *  Plugin Author [ozpital](https://wordpress.org/support/users/ozpital/)
 * (@ozpital)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/usage-inside-a-form/#post-11180002)
 * Sorry [@stephenskelly](https://wordpress.org/support/users/stephenskelly/) , 
   not resolved completely just yet.
 * WordPress removes some essential markup from the plugin when the shortcode it
   used within a form.
 * I do have this feature penned in and will introduce it asap but right now, to
   get this working – include the wetransfer shortcode outside of the gravity form/
   cf7.
 *  [StephenSkelly](https://wordpress.org/support/users/stephenskelly/)
 * (@stephenskelly)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/usage-inside-a-form/#post-11180224)
 * Ah great,
 * Yes was looking at that method as a solution but hoped for something a little
   more elegant.
 * Thanks all the same will use that for now!
 *  [DanielCanDesign](https://wordpress.org/support/users/danielcandesign/)
 * (@danielcandesign)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/usage-inside-a-form/#post-11317334)
 * Hi ozpital,
    when can you expect this issue with CF7 to be resolved? Regards

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

The topic ‘Usage inside a form’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ozpital-wetransfer_7a7a7a.svg)
 * [Ozpital WPWeTransfer](https://wordpress.org/plugins/ozpital-wetransfer/)
 * [Support Threads](https://wordpress.org/support/plugin/ozpital-wetransfer/)
 * [Active Topics](https://wordpress.org/support/plugin/ozpital-wetransfer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ozpital-wetransfer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ozpital-wetransfer/reviews/)

## Tags

 * [label](https://wordpress.org/support/topic-tag/label/)

 * 9 replies
 * 5 participants
 * Last reply from: [DanielCanDesign](https://wordpress.org/support/users/danielcandesign/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/usage-inside-a-form/#post-11317334)
 * Status: resolved