Having issues with some form validations after updating Nintex version.
Date validation is done through JS
function ValidateHotel() {
var validateHotelPreference = true;
var validateHotelCheckinDate = true;
var validateHotelCheckoutDate = true;
var validateHotelEstimateIsNumber = true;
var invalidFields = ];
var validFields = ];
if (!validateBlankField(HotelPreference)) {
validateHotelPreference = false;
invalidFields.push(NWF$('#' + HotelPreference));
}
else {
validFields.push(NWF$('#' + HotelPreference));
}
if (NWF$('#' + requestCheckinValidation).val() == 'true' || NWF$('#' + hotelCheckInNotWithinTravelDates).val() == 'true') {
validateHotelCheckinDate = false;
invalidFields.push(NWF$('#' + RequestedCheckIn));
}
else {
validFields.push(NWF$('#' + RequestedCheckIn));
}
if (NWF$('#' + requestCheckoutValidation).val() == 'true' || NWF$('#' + hotelCheckOutNotWithinTravelDates).val() == 'true') {
validateHotelCheckoutDate = false;
invalidFields.push(NWF$('#' + RequestedCheckOut));
}
else {
validFields.push(NWF$('#' + RequestedCheckOut));
}
if (NWF$('#' + HotelEstimateNumeric).val() == 'false') {
validateHotelEstimateIsNumber = false;
invalidFields.push(NWF$('#' + HotelEstimatedCost));
}
else {
validFields.push(NWF$('#' + HotelEstimatedCost));
}
Even if date is not null still form can not be submitted