Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Pado
Behira Younes
Commits
08addb6a
Commit
08addb6a
authored
Oct 29, 2020
by
Ratnadeep Rajendra Kharade
Browse files
formatted code
parent
afa2d2d3
Pipeline
#1112
passed with stages
in 11 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/index.html
View file @
08addb6a
...
...
@@ -77,7 +77,7 @@
<option
value=
"3"
>
Good-ability group
</option>
<option
value=
"4"
>
Average-ability group
</option>
<option
value=
"5"
>
Low-ability group
</option>
</select>
<div
id=
"category-validation"
class=
"error-message"
>
Please select the category.
</div>
</div>
...
...
public/index.js
View file @
08addb6a
...
...
@@ -87,7 +87,7 @@ function isFormValid() {
document
.
getElementById
(
'
schoolLevel-validation
'
).
style
.
display
=
'
none
'
;
}
if
(
inputObj
.
category
===
''
||
inputObj
.
category
===
0
)
{
if
(
inputObj
.
category
===
''
||
inputObj
.
category
===
0
)
{
invalidFields
++
;
document
.
getElementById
(
'
category-validation
'
).
style
.
display
=
'
block
'
;
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment