Skip to content
Snippets Groups Projects
Commit 16b3fc1c authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

1. added aup flag to json object

2. added new function check() to enable/disable submit button based on status of checkbox
parent 9656a061
No related branches found
No related tags found
1 merge request!14feat aup field for account creation
function check() {
var check_counter =0;
function check() {
var submitButton = document.getElementById("submit");
submitButton.disabled = false;
if ((check_counter+=1)%2) submitButton.disabled = false;
else submitButton.disabled = true;
};
function displayloading1() {
......@@ -17,7 +19,8 @@ function request_account() {
fullname: document.getElementById("fullname").value,
email: document.getElementById("email").value,
reason: document.getElementById("reason").value,
username: document.getElementById("username").value
username: document.getElementById("username").value,
aup: 1
})
}
......
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