Skip to content
Snippets Groups Projects
Commit ae0e8c52 authored by root's avatar root
Browse files

added checkbox to be checked before account creation

parent 700d71e3
No related branches found
No related tags found
No related merge requests found
Pipeline #5297 failed with stage
function check() {
var submitButton = document.getElementById("submit");
submitButton.disabled = false;
};
function displayloading1() {
$('#overlayModal').modal('show');
}
......
......@@ -98,8 +98,9 @@
</div>
<br>
<div class="col-md-7 col-sm-7 my-col">
<br><input class="checks" id ="agree" type="checkbox" name="agree" value="agree" onchange= check() />Agree to proceed<br/>
<button class="btn btn-danger btn-md" id="cancel" name="cancel" type="button" onClick="renderDom('Account Creation Cancelled','{{ cancel_msg |safe }}', null)">Cancel</button>
<button class="btn btn-primary btn-md" id="submit" name="submit" type="button" value="Submit" onclick="displayloading1();request_account()"> Create Account</button>
<button class="btn btn-primary btn-md" disabled id="submit" name="submit" type="button" value="Submit" onclick="displayloading1();request_account()"> Create Account</button>
</div>
</form>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment