Hello @manillons, thanks for reaching out.
I will have to escalate your concern to our lead developer and as soon as we get any new information regarding this then we will reply to this thread with an update.
We appreciate your patience.
Hi,
Thank you. You can see here the form and the signature field issue when opened into a popup :
https://comptepersonnel.com/elearning/test-cf7-popup-signature/
Regards
@manillons – I think this is what your looking for:
jQuery('.pum').on(function () {
$('div.wpcf7 > form').wpcf7InitSignatures();
});
Hope that helps. If your issue is resolved please take a moment to rate and review the plugin or support.
If you still need help please message us directly at https://wppopupmaker.com/support/.
Hi,
Thank you for your help. Can you just tell me where to add this function please?
Regards
Hi there,
I received support by mail. Here is the solution for this issue :
add_action( 'wp_footer', 'my_custom_popup_scripts', 500 );
/**
* Add custom JavaScript scripts to the footer of your site theme.
*
* @since 1.0.0
*
* @return void
*/
function my_custom_popup_scripts() { ?>
<script type="text/javascript">
(function ($, document, undefined) {
jQuery('.pum').on('pumAfterOpen', function () {
$('div.wpcf7 > form').wpcf7InitSignatures();
});
}(jQuery, document))
</script><?php
}
Thank you for the great support !