Hi @alexjefimov,
You should be able to prevent a popup from launching using a listener on your form fields.
This PHP hook adds jQuery that will prevent a popup from opening when any input field in the first form (wpcf7-f656-o2) on your homepage slider gets clicked.
<?php
/**
* Add custom JavaScript for Popup Maker to the footer of your site.
*/
function prevent_popup_when_filling_out_form() { ?>
<script type="text/javascript">
jQuery(document).ready(function ($) {
// Listen for focus on the first form in the slider.
$( '#wpcf7-f656-o2 input, .wpcf7-f656-o2 textarea' ).focus( function() {
// Change the popup ID to yours.
PUM.preventOpen( 15 );
// DEBUG: REMOVE IN PRODUCTION
console.log( '[DEBUG] Prevented popup 15 from opening.' );
}); // Listener
}); // jQuery
</script><?php
}
add_action( 'wp_footer', 'prevent_popup_when_filling_out_form', 500 );
/**
* Add the code above to your child theme's functions.php file or
* use a code snippets plugin.
*/
Please give that a try. Yell back if you have any questions or need help with that.
Cheers ??