//-----MODAL RESPONSE------------------------------------------
function openFormResp() {
new Fancybox([
{
src: '#modal-response',
type: 'inline',
},
])
}
//-----WPFORMS ACTION AFTER SUBMIT------------------------------------------
(($) => {
$('form.wpforms-form').on('wpformsAjaxSubmitSuccess', (e) => {
openFormResp()
})
})(jQuery)