Click here to Skip to main content
15,886,545 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
<div class="form-group">
                <label asp-for="Password" class="control-label"></label>
                <input type="password" class="form-control" id="Password" />
                <span asp-validation-for="Password" class="text-danger"></span>
            </div>


I have the above code that takes an input from the user who is registering in a asp.net mvc web app. when I submit the form a get an error that the password field is required but I already have typed a password. I cant see why it doesnt store it. every other field works fine. maybe its because is type password. I dont know

What I have tried:

I am a newbie and I dont know what to try
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900