Zenovo (Glipiq Form)
Specific Folder FTP Upload / ftp-deploy (push) Successful in 42s
Details
Specific Folder FTP Upload / ftp-deploy (push) Successful in 42s
Details
This commit is contained in:
parent
e8a67bb54f
commit
f93ddc1ee8
|
|
@ -638,8 +638,21 @@
|
||||||
today = yyyy + '-' + mm + '-' + dd;
|
today = yyyy + '-' + mm + '-' + dd;
|
||||||
|
|
||||||
var plandateField = document.getElementById('field-record_date');
|
var plandateField = document.getElementById('field-record_date');
|
||||||
|
plandateField.setAttribute('min', "2026-08-01");
|
||||||
|
|
||||||
plandateField.setAttribute('max', today);
|
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>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue