Title: Value in modal window
Last modified: March 14, 2019

---

# Value in modal window

 *  Resolved [gandotratushar](https://wordpress.org/support/users/gandotratushar/)
 * (@gandotratushar)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/value-in-modal-window/)
 * On this page there is a button called “Download Brochure”. On click there is 
   a modal popup with a form embedded through shortcode. I have a hidden variable
   in the form
    input type=”hidden” name=”event-tag” value=”” I need the name of
   the event to be passed in the value of this field. I have tried with CF7_get_post_var
   key=’title’ but it doesnt work. Any help will be appreciated.
 * Thanks and Best Regards
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fvalue-in-modal-window%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [sevenspark](https://wordpress.org/support/users/sevenspark/)
 * (@sevenspark)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/value-in-modal-window/#post-11380172)
 * Hi there,
 * Seems like it should work – make sure you don’t have any magic quotes in there(
   you do in this post, but I think it’s just because you haven’t wrapped it in 
   code tags)
 * Though it looks like you have the value in there now?

Viewing 1 replies (of 1 total)

The topic ‘Value in modal window’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7-dynamic-text-extension/assets/icon-256x256.
   png?rev=3019574)
 * [Contact Form 7 - Dynamic Text Extension](https://wordpress.org/plugins/contact-form-7-dynamic-text-extension/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7-dynamic-text-extension/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7-dynamic-text-extension/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7-dynamic-text-extension/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7-dynamic-text-extension/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7-dynamic-text-extension/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [sevenspark](https://wordpress.org/support/users/sevenspark/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/value-in-modal-window/#post-11380172)
 * Status: resolved