FIX: problems with validation -> (segments/_register.php , js/contentloader.js)
Changes in js/contentloader.js: -document.getElementById('btnCreate').addEventListener("click" , async (event) => { document.getElementById('create-form').addEventListener("submit" , async (event) => {
This commit is contained in:
parent
82ffca032f
commit
acb36dda96
@ -24,7 +24,7 @@ async function getNewUniqueLink() {
|
||||
}
|
||||
|
||||
//<!--Register-->
|
||||
document.getElementById('btnCreate').addEventListener("click" , async (event) => {
|
||||
document.getElementById('create-form').addEventListener("submit" , async (event) => {
|
||||
event.preventDefault();
|
||||
const formData = new FormData(document.getElementById('create-form'));
|
||||
try {
|
||||
|
@ -29,8 +29,8 @@
|
||||
<input type="text" class="form-control" name="registerMail" aria-label="Small" aria-describedby="inputGroup-sizing-sm" required>
|
||||
</div>
|
||||
<hr />
|
||||
╭∩╮(ಠಠ)╭∩╮
|
||||
<button id="btnCreate" type="submit" style="float: right;" class="btn btn-primary">Create Account</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div> <!-- Ende container login -->
|
||||
|
Loading…
Reference in New Issue
Block a user