modified fitting label and handled error display
This commit is contained in:
parent
f64aeb8c22
commit
69c1c10f6e
2 changed files with 2 additions and 1 deletions
|
|
@ -683,6 +683,7 @@ function validate_form(form) {
|
|||
if ($('input[type=radio][id=from_fitting]').prop('checked')) {
|
||||
if ($('#CO2_fitting_result').val() == '')
|
||||
$("input[type=radio][id=no_ventilation]").prop("checked", true);
|
||||
$("span.error_text").remove();
|
||||
on_ventilation_type_change();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -207,7 +207,7 @@
|
|||
<input type="radio" id="natural_ventilation" name="ventilation_type" value="natural_ventilation" data-enables="#DIVnatural_ventilation" data-toggle="modal" data-target="#warning_modal">
|
||||
<label for="natural_ventilation">Natural</label>
|
||||
<input class="ml-3" type="radio" id="from_fitting" name="ventilation_type" value="from_fitting" data-enables="#DIVfrom_fitting">
|
||||
<label for="from_fitting">Fitting</label>
|
||||
<label for="from_fitting">From Fitting</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue