Codoforum related discussions
Post data empty

I have a login form i'm trying to get working yet when I hit submit the username and password I type in just disappears! I really have no idea what I broke this time.

Login Form

        <form class="form-signin" action="login.php" method="post">
          <div class="form-label-group">
            <input type="text" name="user" id="user" class="form-control" placeholder="User ID" required>
            <label for="user">Username</label>
          </div>
          <div class="form-label-group">
            <input type="password" name="pass" id="pass" class="form-control" placeholder="Password" required>
            <label for="pass">Password</label>
          </div>
          <p>logins are automatically remembered for 60 days. use the <a href="signout.php">signout</a> page to sign out. </p>
          <button class="btn btn-lg btn-primary btn-block text-uppercase" type="submit">Sign in</button>
        </form>
I have a login form i&#039;m trying to get working yet when I hit submit the username and password I type in just disappears! I really have no idea what I broke this time. Login Form &lt;form class=&quot;form-signin&quot; action=&quot;login.php&quot; method=&quot;post&quot;&gt; &lt;div class=&quot;form-label-group&quot;&gt; &lt;input type=&quot;text&quot; name=&quot;user&quot; id=&quot;user&quot; class=&quot;form-control&quot; placeholder=&quot;User ID&quot; required&gt; &lt;label for=&quot;user&quot;&gt;Username&lt;/label&gt; &lt;/div&gt; &lt;div class=&quot;form-label-group&quot;&gt; &lt;input type=&quot;password&quot; name=&quot;pass&quot; id=&quot;pass&quot; class=&quot;form-control&quot; placeholder=&quot;Password&quot; required&gt; &lt;label for=&quot;pass&quot;&gt;Password&lt;/label&gt; &lt;/div&gt; &lt;p&gt;logins are automatically remembered for 60 days. use the &lt;a href=&quot;signout.php&quot;&gt;signout&lt;/a&gt; page to sign out. &lt;/p&gt; &lt;button class=&quot;btn btn-lg btn-primary btn-block text-uppercase&quot; type=&quot;submit&quot;&gt;Sign in&lt;/button&gt; &lt;/form&gt;

You can try something like that:

<form class="box-body" action="?page=login" role="form" method="post" enctype="multipart/form-data" _lpchecked="1">

<br>

<input type="text" name="username" value="" class="form-control" placeholder="username" required="" autocomplete="off">

<br>

<input type="password" name="password" value="" class="form-control" placeholder="password" required="" autocomplete="off">

<br>

<input type="submit" value="Login" class="btn btn-success btn-block">

</form>

I hope this will help You smile
Good luck!

Andy

You can try something like that: ```` &lt;form class=&quot;box-body&quot; action=&quot;?page=login&quot; role=&quot;form&quot; method=&quot;post&quot; enctype=&quot;multipart/form-data&quot; _lpchecked=&quot;1&quot;&gt; &lt;br&gt; &lt;input type=&quot;text&quot; name=&quot;username&quot; value=&quot;&quot; class=&quot;form-control&quot; placeholder=&quot;username&quot; required=&quot;&quot; autocomplete=&quot;off&quot;&gt; &lt;br&gt; &lt;input type=&quot;password&quot; name=&quot;password&quot; value=&quot;&quot; class=&quot;form-control&quot; placeholder=&quot;password&quot; required=&quot;&quot; autocomplete=&quot;off&quot;&gt; &lt;br&gt; &lt;input type=&quot;submit&quot; value=&quot;Login&quot; class=&quot;btn btn-success btn-block&quot;&gt; &lt;/form&gt; ```` I hope this will help You :) Good luck! Andy

https://net-twin.de/ Community for creative people - JOIN
https://github.com/WebCrew My GitHub account
https://prattle.space A niceTwitter alternative - JOIN
https://sell-co.de/ Lots of Tools and Utilities for free

edited Jun 2 '20 at 8:14 am

Oh no! It sounds like your login form is playing hide and seek with the username and password. 😅 Have you checked the PHP script (login.php) to see if there's any vanishing act happening there? Double-checking might help uncover the mystery! Good luck!



Oh no! It sounds like your login form is playing hide and seek with the username and password.

Hello. Do you know what side effects enclofimene has? I would definitely advise you to visit https://valhallavitality.com/blog/exploring-the-impact-of-enclomiphene-on-libido-an-in-depth-analysis, which has analysed all the advantages and disadvantages of this drug in depth. In particular, you will learn about its principle of action and what side effects it has when taken.


Hello. Do you know what side effects enclofimene has? I would definitely advise you to visit https://valhallavitality.com/blog/exploring-the-impact-of-enclomiphene-on-libido-an-in-depth-analysis, which has analysed all the advantages and disadvantages of this drug in depth. In particular, you will learn about its principle of action and what side effects it has when taken.
edited Feb 26 at 4:39 pm
69
3
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft