Jump to content

Search the Community

Showing results for tags 'still having problems'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 1 result

  1. Hi guys, I have two forms on one php page, the forms work fine if they are on different pages but I want both of them on one page to make my registration/login page look trendy and modern. However, I have come to an abrupt halt as the two forms fail to execute. One works fine and the other is ignored completely. How do I get both of them executing at different intervals even though they are on one page? I think I have a problem on the 'return false'. The registration form works fine but the login form is failing to work. I have two different ajax for processing this form please help. code of forms below, thank you. Some members suggested I try <input type="submit" /> but still no luck using input attribute. Please help //FORM 1 <div> <p style="text-align:center;;">REGISTRATION FORM</p> <form name="rgistrationform" id="registration" onsubmit="return false;"> <div>Username: </div> <input id="username" type="text" /> <div>Email:</div> <input id="email" type="text" /> <div>Enter Password:</div> <input id="pass1" type="password" /> <div>Repeat Password:</div> <input id="pass2" type="password" /> <br /> <button id="registerbtn" onclick="register()">Register</button> <br /> </form> </div> //FORM 2 <div> <h3 style="text-align:center;">LOGIN FORM</h3> <form id="loginform" onSubmit="return false;"> <div>Email Address:</div> <input type="text" id="email" /> <div>Password:</div> <input type="password" id="password" /> <br /><br /> <button id="loginbtn" OnClick="login()">LOG-IN</button> <br /> <a href="4gotpass.php"><strong>Forgot Password</strong></a> </form>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.