Zenova (Tracker Form) - Date alert
Specific Folder FTP Upload / ftp-deploy (push) Has been cancelled Details

This commit is contained in:
zeeshan 2026-10-07 12:24:58 +05:30
parent 3267e4be13
commit 70ab57ae63
1 changed files with 9 additions and 0 deletions

View File

@ -346,6 +346,15 @@ if (!empty($submissions->data->submissions)) {
min: minDate,
max: maxDate
});
$recordDate.on('change', function() {
var selectedDate = $(this).val();
if (selectedDate && selectedDate > maxDate) {
alert('You cannot select a date in the future. Please select a valid date.');
$(this).val('');
}
});
});