Hi,
So laserfiche save empty dates as 1900-01-01,
I have date lookups that pulls dates from the database and I want empty dates to be empty, how can I write a JavaScript code that will hide the date but not the field every time the lookup date is 1900.
$('.dateHide input').on('blur');
function IdValidity() {
if ($('.dateHide input').val()=='1900-01-01')
{
$('.dateHide input').hide();
}
else {$('.dateHide input').show();}
}
Thanks.