title: How to use wordpress Contact Form 7 plugin with magnific popup
body: <p>I have created wordpress theme and i am using <a href="https://wordpress.org/plugins/contact-form-7/" rel="nofollow">contact form 7</a> plugin for making forms. Now, i have a requirement of making a form in popup, so i have decided to to use <a href="http://dimsemenov.com/plugins/magnific-popup/" rel="nofollow">magnific-popup</a> to launch popup and placed shortcode of form in there. Now i have popup with working in working condition.</p>
  
  <p>The problem is <code>validations</code>, when i click on <code>submit</code> it <code>refreshes</code> the page and closes the poppup, and validations are gone with the popup, now the user have to again click on link and launch the popup in order to see the validations and to proceed further.</p>
  
  <p>I want the popup to remain open until form is being submitted successfully and after submit i will redirect the user onto another page.</p>