<div class="form-group">
<label asp-for="Password" class="control-label"></label>
<input type="password" class="form-control" id="pwd" placeholder="Enter password" name="pswd" required />
<span asp-validation-for="Password" class="text-danger"></span>
</div>
I have this code that takes a password in a password input from the user that is registering in my site. Although I type a password when i try to save the new user i get an error that the password field is required.