Title: include Javascript ?
Last modified: September 20, 2016

---

# include Javascript ?

 *  [blackjack84](https://wordpress.org/support/users/blackjack84/)
 * (@blackjack84)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/include-javascript/)
 * I want to include a snippet of javascript in or with the contact form (to attach
   the contents of some local storage). Can that be done, and if so – how ?

Viewing 1 replies (of 1 total)

 *  Thread Starter [blackjack84](https://wordpress.org/support/users/blackjack84/)
 * (@blackjack84)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/include-javascript/#post-8206070)
 * No answer ?
    More explanation if that helps : I have an item of localstorage 
   called “vsb”, and a js function called “getVSB()” which returns its value. I 
   want to include the value of vsb in the body of an email sent via CF7. I think
   that what I need to do is add something like “[textarea vsb getVSB()]” into a
   CF7 form label – but that doesn’t work. Is there any way of doing what I’m after?

Viewing 1 replies (of 1 total)

The topic ‘include Javascript ?’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [blackjack84](https://wordpress.org/support/users/blackjack84/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/include-javascript/#post-8206070)
 * Status: not resolved