Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8629589
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T08:50:53+00:00 2026-06-12T08:50:53+00:00

EDIT 051012 : Turns out that the issue was less to do with the

  • 0

EDIT 051012:
Turns out that the issue was less to do with the forms being on one page but more to conflicts between prototype and jQuery; there was a inclusion of jQuery right at the bottom of the footer which was not set to no conflict. I simply added this after the inclusion of that particular jQuery:

<script type="text/javascript">
//<![CDATA[
$.noConflict();
//]]>
</script>

I’m accepting Pavel Novitsky’s answer below because he mentioned, “If assuming that you have no form embedding or JavaScript errors your code should work..” and that made me realize that it might have something to do with Javascript.

I’m currently building an e-commerce site with Magento which requires for both the registration and login forms to sit on one page.

I have successfully integrated both forms on a single page but was not able to login or register.

Here’s a very brief overview of how the forms are structured

<!--registration-->
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="form-validate">
     <!--// form input fields go here-->
</form>
<script type="text/javascript">
//<![CDATA[
     var dataForm = new VarienForm('form-validate', true);
//]]>
</script>

<!--login-->
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
     <!--// form input fields go here-->
</form>

<script type="text/javascript">
//<![CDATA[
     var dataForm = new VarienForm('form-validate', true);
//]]>
</script>

I noticed that the variable dataForm was being defined twice over so I switched one of them to dataForm02 to see if the submissions would go through – neither did. So after almost 6 hours of prodding, I decided to remove the javascript validation and to my surprise, the submission on both forms worked.

Does anyone have an idea why this is happening? It is good that I got the submissions on both forms through but this is definitely not ideal because there’d be no form of validations employed on the 2 forms. I’m close to throwing my computer out my 20th storey apartment.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T08:50:54+00:00Added an answer on June 12, 2026 at 8:50 am

    you have one and the same form action for both login and register forms:

    <?php echo $this->getPostActionUrl() ?>
    

    This method is defined in different blocks for templates.

    If assume that you have no form embedding or JavaScript errors your code should work.Hard to say something without real code.

    Just one guess: do you have

    //<![CDATA[
    var dataForm = new VarienForm('login-form', true);
    //]]>
    

    or

    <script type="text/javascript">
    //<![CDATA[
        var dataForm = new VarienForm('login-form', true);
    //]]>
    </script>
    

    ?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

EDIT Complicating matters it appears that there is an issue (that is being worked
EDIT : It turned out that this can only be done through an external
EDIT After staring at this for 2 days, I do see one issue. I
Edit: I think I figured out the solution, but I'm still interested to know
EDIT: I was chastised for being off subject. I edited out the file method
Edit: to clarify - i just found out that it is really easy to
EDIT: I was an idiot. I simply had an image that was vertically long,
EDIT: See my answer below--> I am wanting to have a view that when
EDIT: iam using ajax to load text in my content that is why onload
Edit : Note that, as Daniel and latkin noted in an answer and a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.