Hi Guys,
I am trying to use yet the most simple ever Login form
I saw one of those forms in one of your screencast, and I used this form on other solutions, it always works.
But for some reason I runned into a problem now. And it looks like it is not working, not sure why.
form code:
<!--@If Defined(Global:Extranet.UserName)--> <div id="loggedin"> Velkommen, <!--@DWextranet_AccessUserUserName-->! <a href="/admin/public/ExtranetLogoff.aspx?ID=1" class="logout">Log ud</a> </div> <!--@EndIf(Global:Extranet.UserName)--> <!--@If Not Defined(Global:Extranet.UserName)--> <div id="login"> <form onSubmit="return checkform();" action="Default.aspx?ID=38" name="ExtUserForm" id="login-form" method="POST"> <input type="text" id="username" name="username" placeholder="Brugernavn" value="" /> <input type="password" id="password" name="password" placeholder="Brugernavn" value="" /> <input type="submit" id="logind" name="submit" value="Log ind" /> </form> </div> <!--@EndIf(Global:Extranet.UserName)-->
After I click "loggin" it posts the form and nothing happens...
Wanted to ask if there can be any reason why this might not work?
Or what can I try to fix it?
//Dmitrij
Note: action="Default.aspx?ID=38" is the page that supposed to do the login. Make sure you do not redirect user to non-existing page.