just type required in your tag example: <input type="password" placeholder="Password" class="validate" required>