Как показать своё сообщение успешной отправке из ZeroBlock Тильда
You Really Decide to Improve Yourself
Exercitation photo booth stumptown tote bag Banksy, elit small batch freegan sed. Craft beer elit seitan exercitation, photo booth et 8-bit kale.
SCHEDULE APPOINTMENT

Как показать своё сообщение успешной отправке из ZeroBlock Тильда

1
Создали ZeroBlock с сообщением, расположили элементы по центру
2
Кнопкам в этом Zero задали класс success-btn-close
3
Создали ZeroBlock c основной формой и задали ей класс zero_form
4
Добавили код в блок Другое - Т123
Mo-ti Level Up
Видео инструкции по добавлению кода и работе с Zero Block.
Создаём своё сообщение об успешной отправке формы, оформляем его из ZeroBlock
Фрагмент видео
Библиотека для примера стандартный блок

<style>
.t-form-success-popup__window , 
.hide-success { 
    opacity: 0!important;
    height: 0!important;
    max-height: 0!important;
    min-height: 0!important;
    pointer-events: none!important;
    overflow: hidden!important;
    padding-top: 0!important;
    padding-bottom: 0!important;
}
.success-zero {
    position: inherit;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
}
</style>
<script>
$(document).ready(function () {
$('.success-btn-close').closest('.t-rec').addClass('success-zero hide-success');
$('.success-btn-close').click(function(){ window.tildaForm.closeSuccessPopup() });
$('.zero_form').delegate(".t-submit", "click", function(){
    setTimeout(function(){
        if ( $('.zero_form .t-form').hasClass("js-send-form-success")){
            $('.success-zero').removeClass('hide-success').appendTo('.t-form-success-popup');
        };
    }, 1000);
});    
});
</script>
Learn more about the PM course.
Just type your contacts.
Х
Tilda Newsletter
Subscribe to our email newsletter for useful tips and valuable resources, sent out every month
Made on
Tilda