|
@@ -17,6 +17,28 @@ $formID = rand(0, 100000);
|
|
|
<?php endif; ?>
|
|
|
|
|
|
<div class="gem-nodes">
|
|
|
+ <div class="my-3 node node-level-0" data-key="how_are_you">
|
|
|
+ <label>How are you doing?</label>
|
|
|
+ <div class="subs pl-4">
|
|
|
+ <div class="my-3 node node-level-2" data-key="how_are_you__with_quarantine">
|
|
|
+ <label>How are you doing with quarantine?</label>
|
|
|
+ <div class="d-flex align-items-center">
|
|
|
+ <input onchange="onGemVChange_{{ $formID }}(this)" value="{{ @$contentData['how_are_you__with_quarantine'] }}" name="how_are_you__with_quarantine" type="text" class="form-control form-control-sm mr-2" placeholder="Answer">
|
|
|
+ <input onchange="onGemVChange_{{ $formID }}(this)" value="{{ @$contentData['how_are_you__with_quarantine_memo'] }}" name="how_are_you__with_quarantine_memo" type="text" class="form-control form-control-sm" placeholder="Memo">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="my-3 node node-level-2" data-key="how_are_you__with_health_in_general">
|
|
|
+ <label>How are you doing with you health in general?</label>
|
|
|
+ <div class="d-flex align-items-center">
|
|
|
+ <input onchange="onGemVChange_{{ $formID }}(this)" value="{{ @$contentData['how_are_you__with_health_in_general'] }}" name="how_are_you__with_health_in_general" type="text" class="form-control form-control-sm mr-2" placeholder="Answer">
|
|
|
+ <input onchange="onGemVChange_{{ $formID }}(this)" value="{{ @$contentData['how_are_you__with_health_in_general_memo'] }}" name="how_are_you__with_health_in_general_memo" type="text" class="form-control form-control-sm" placeholder="Memo">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
<div class="my-3 node node-level-0" data-key="blood_ox">
|
|
|
<label>Blood Oxygen</label>
|
|
|
<div class="subs pl-4">
|
|
@@ -976,8 +998,8 @@ $formID = rand(0, 100000);
|
|
|
|
|
|
|
|
|
<div class="form-group m-0 d-flex">
|
|
|
- <button class="btn btn-sm btn-primary mr-2">Submit</button>
|
|
|
- <button class="btn btn-sm btn-default border" onclick="return cancelForm_NoteSection_{{ $formID }}(this)">Cancel</button>
|
|
|
+ <button class="btn btn-sm btn-primary mr-2">Done</button>
|
|
|
+ {{--<button class="btn btn-sm btn-default border" onclick="return cancelForm_NoteSection_{{ $formID }}(this)">Cancel</button>--}}
|
|
|
</div>
|
|
|
</form>
|
|
|
<script>
|
|
@@ -1008,5 +1030,11 @@ $formID = rand(0, 100000);
|
|
|
span.text(value.join(', '));
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ // submit here
|
|
|
+ let form = $(_field).closest('form');
|
|
|
+ $.post(form[0].action, form.serialize(), function(_data) {
|
|
|
+ console.log('Submitted!');
|
|
|
+ });
|
|
|
}
|
|
|
</script>
|