Lines 190-196
$(document).ready(function(){
Link Here
|
190 |
}); |
190 |
}); |
191 |
var mandatory_fields = $("input[name='BorrowerMandatoryField']").val().split ('|'); |
191 |
var mandatory_fields = $("input[name='BorrowerMandatoryField']").val().split ('|'); |
192 |
$(mandatory_fields).each(function(){ |
192 |
$(mandatory_fields).each(function(){ |
193 |
$("[name='"+this+"']").attr('required', 'required'); |
193 |
let input = $("[name='"+this+"']") |
|
|
194 |
if ( input.hasClass('flatpickr') ) { |
195 |
$(input).siblings('.flatpickr_wrapper').find('input.flatpickr').prop('required', true) |
196 |
} |
197 |
input.prop('required', true); |
194 |
}); |
198 |
}); |
195 |
|
199 |
|
196 |
$("fieldset.rows input, fieldset.rows select").addClass("noEnterSubmit"); |
200 |
$("fieldset.rows input, fieldset.rows select").addClass("noEnterSubmit"); |
197 |
- |
|
|