Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/main_file/public/assets/js/pages/ drwxrwxrwx | |
| Viewing file: Select action/file-type: '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); |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0116 ]-- |