Zenovo (Glipiq Form)
Specific Folder FTP Upload / ftp-deploy (push) Successful in 42s Details

This commit is contained in:
zeeshan 2026-09-16 17:15:47 +05:30
parent e8a67bb54f
commit f93ddc1ee8
1 changed files with 13 additions and 0 deletions

View File

@ -638,8 +638,21 @@
today = yyyy + '-' + mm + '-' + dd;
var plandateField = document.getElementById('field-record_date');
plandateField.setAttribute('min', "2026-08-01");
plandateField.setAttribute('max', today);
$('#field-record_date').on('change', function () {
var selectedDate = $(this).val();
if (selectedDate > today) {
alert('Record date cannot be greater than today.');
$(this).val('');
return false;
}
});
});
</script>
</body>