What's new
HTML Forums | An HTML and CSS Coding Community

Welcome to HTMLForums; home of web development discussion! Please sign in or register your free account to get involved. Once registered you will be able to connect with other members, send and receive private messages, reply to topics and create your very own. Our registration process is hassle-free and takes no time at all!

HTML Form is allowing to skip required <select> tags

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:

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?
 
Back
Top