TheLovableCodeMan
New member
- Joined
- Apr 22, 2021
- Messages
- 1
- Reaction score
- 0
Right, why is my HTML form allowing users to skip just the one dropdown select tag, despite having the "required" attribute within the "select" tag?
This is an extract:
Is the "required" attribute implements so users to not be able to skip, or have I missed something here?
The rest of my "select" tags have the "required" attribute and they work as expected?
This is an extract:
HTML:
<form>
<select class="" id="standard-select" name="title" required>
<option selected disabled>Title *</option>
<option>Dr.</option>
<option>Mr.</option>
<option>Mrs.</option>
<option>Ms.</option>
<option>Prof.</option>
<option>Rev.</option>
<option>Pastor.</option>
<option>Miss.</option>
</select>
<form/>
Is the "required" attribute implements so users to not be able to skip, or have I missed something here?
The rest of my "select" tags have the "required" attribute and they work as expected?