Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
account-app
Manage
Activity
Members
Labels
Plan
Issues
9
Issue boards
Milestones
Wiki
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
rc
account-app
Merge requests
!14
feat aup field for account creation
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
feat aup field for account creation
krish94/self-reg-form:feat-checkbox
into
master
Overview
0
Commits
4
Pipelines
4
Changes
3
Merged
Krish Moodbidri
requested to merge
krish94/self-reg-form:feat-checkbox
into
master
3 years ago
Overview
0
Commits
4
Pipelines
4
Changes
3
Expand
Add aup field as a checkbox
Enable submit button (for account creation) only when aup field is checked
Send this flag to rabbitmq agents in the backend
Edited
3 years ago
by
Krish Moodbidri
👍
0
👎
0
Merge request reports
Compare
master
version 3
16b3fc1c
3 years ago
version 2
9656a061
3 years ago
version 1
ae0e8c52
3 years ago
master (base)
and
latest version
latest version
389cfaef
4 commits,
3 years ago
version 3
16b3fc1c
3 commits,
3 years ago
version 2
9656a061
2 commits,
3 years ago
version 1
ae0e8c52
1 commit,
3 years ago
3 files
+
12
−
3
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
app/static/scripts/function.js
+
8
−
1
Options
function
check
()
{
var
submitButton
=
document
.
getElementById
(
"
submit
"
);
let
ckbox
=
document
.
getElementById
(
'
agree
'
);
submitButton
.
disabled
=
!
ckbox
.
checked
;
};
function
displayloading1
()
{
function
displayloading1
()
{
$
(
'
#overlayModal
'
).
modal
(
'
show
'
);
$
(
'
#overlayModal
'
).
modal
(
'
show
'
);
}
}
@@ -12,7 +18,8 @@ function request_account() {
@@ -12,7 +18,8 @@ function request_account() {
fullname
:
document
.
getElementById
(
"
fullname
"
).
value
,
fullname
:
document
.
getElementById
(
"
fullname
"
).
value
,
email
:
document
.
getElementById
(
"
email
"
).
value
,
email
:
document
.
getElementById
(
"
email
"
).
value
,
reason
:
document
.
getElementById
(
"
reason
"
).
value
,
reason
:
document
.
getElementById
(
"
reason
"
).
value
,
username
:
document
.
getElementById
(
"
username
"
).
value
username
:
document
.
getElementById
(
"
username
"
).
value
,
aup
:
document
.
getElementById
(
"
agree
"
).
checked
})
})
}
}
Loading