Title: Doesn&#8217;t work with Themify?
Last modified: March 9, 2022

---

# Doesn’t work with Themify?

 *  Resolved [RashaMatt](https://wordpress.org/support/users/rashamatt/)
 * (@rashamatt)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/doesnt-work-with-themify/)
 * The encrypted message gets submitted to XQ, but the UNENCRYPTED original message
   also gets sent to the form recipient (i.e. the normal contact form action).
 * Is this expected behavior?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdoesnt-work-with-themify%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [RashaMatt](https://wordpress.org/support/users/rashamatt/)
 * (@rashamatt)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/doesnt-work-with-themify/#post-15488986)
 * FYI, to prevent the Themify Contact form from doing a normal (unencrypted) form
   submission, it is necessary to add some Javascript to the page to disable the
   normal form operation:
 *     ```
       <script>
       (function() { // Contact-us script
   
         function onready() {    // Adjust Themify forms for operation with XQ
             //console.log( 'Contact: onready' )
             const forms = jQuery( 'form.builder-contact' )
             if( forms && forms.length>0 ) {
                 forms.addClass( 'sending hidden' )    // Hide spinner & prevent normal Themify form submission (let XQ script handle it)
                 .on( 'submit', () => forms.removeClass('hidden') )   // Reveal spinner when Submit button is clicked
                 console.log( forms.length + ' .builder-contact forms disabled ✅' )
             }
             else console.warn( 'No .builder-contact forms found! ❌' )
         }
   
         //console.log( 'Contact: run' )
         const tid = setInterval( () => {
             if( jQuery ) {    // Wait until jQuery is loaded
                 //console.log( 'Contact: JQ loaded' )
                 clearInterval( tid )
                 jQuery( document ).ready( onready )
             }
         }, 200 )
       })()
       </script>
   
       <style>
       .builder-contact.sending.hidden .tf_loader {
           display: none;
       }
       </style>
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Doesn’t work with Themify?’ is closed to new replies.

 * ![](https://ps.w.org/xq-secure-form/assets/icon-256x256.png?rev=2634456)
 * [XQ Secure Form](https://wordpress.org/plugins/xq-secure-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/xq-secure-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/xq-secure-form/)
 * [Active Topics](https://wordpress.org/support/plugin/xq-secure-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/xq-secure-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/xq-secure-form/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [Themify](https://wordpress.org/support/topic-tag/themify/)

 * 1 reply
 * 1 participant
 * Last reply from: [RashaMatt](https://wordpress.org/support/users/rashamatt/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/doesnt-work-with-themify/#post-15488986)
 * Status: resolved