Файловый менеджер - Редактировать - /home/sibcards/public_html/Modules/LandingPage/Resources/assets/js/pages/form-validation.js
Назад
'use strict'; var bouncer = new Bouncer('[data-validate]', { disableSubmit: true, customValidations: { valueMismatch: function (field) { var selector = field.getAttribute('data-bouncer-match'); if (!selector) return false; var otherField = field.form.querySelector(selector); if (!otherField) return false; return otherField.value !== field.value; } }, messages: { valueMismatch: function (field) { var customMessage = field.getAttribute('data-bouncer-mismatch-message'); return customMessage ? customMessage : 'Please make sure the fields match.' } } }); document.addEventListener('bouncerFormInvalid', function (event) { window.scrollTo(0, event.detail.errors[0].offsetTop); }, false); document.addEventListener('bouncerFormValid', function () { alert('Form submitted successfully!'); window.location.reload(); }, false);
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка