Fix data consistancy in submitForm function
This commit is contained in:
18
index.html
18
index.html
@@ -42,7 +42,9 @@
|
||||
<div class="container">
|
||||
<h2 id="displayedUrl" class="text-center mt-5 h2">Current Backend Url: </h2>
|
||||
<h1 class="text-center mt-5 h1">** DEV ENV** - VCard Creator - ** DEV ENV **</h1>
|
||||
<form method="post" class="form-group mt-5">
|
||||
<a id="vcard" href="#"></a>
|
||||
<label for="vcard" class="text-center"></label>
|
||||
<div class="form-group mt-5">
|
||||
<div class="form-group">
|
||||
<label for="full_name">Full Name & Credentials</label>
|
||||
<input type="text" class="form-control" id="full_name" name="full_name" maxlength="36" required="">
|
||||
@@ -57,15 +59,7 @@
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="location">Location:</label>
|
||||
<select class="form-control" id="location" name="location">
|
||||
|
||||
<option value="Capital Area Intermediate Unit">Capital Area Intermediate Unit</option>
|
||||
|
||||
<option value="Capital Area Early Learning Center">Capital Area Early Learning Center</option>
|
||||
|
||||
<option value="Hill Top Academy">Hill Top Academy</option>
|
||||
|
||||
</select>
|
||||
<select class="form-control" id="location" name="location"></select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input type="checkbox" id="directLineCheckbox" onclick="handleCheckbox()">
|
||||
@@ -83,8 +77,8 @@
|
||||
<label for="cellNumber">Cell Number</label>
|
||||
<input type="tel" class="form-control" id="cellNumber" name="cellNumber" maxlength="15" required="">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary" id="formSubmit">Submit</button>
|
||||
</form>
|
||||
<button class="btn btn-primary" id="formSubmit">Generate VCard</button>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user