Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2019-05-22 15:09:57 +02:00
parent ecdb961989
commit e97fcab9fe
4 changed files with 106 additions and 3 deletions

View File

@@ -39,8 +39,9 @@
// Check to see if the checkbox is checked.
// If it is, show the fields and populate the input.
// If not, hide the fields.
var Value = modality.val();
if (Value=='water') {
var Value = modality.val();
var otwtypes = ['water','coastal','c-boat','churchboat']
if (otwtypes.includes(Value)) {
// Show the hidden fields.
hidden.show();
} else {