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 8891899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T22:51:23+00:00 2026-06-14T22:51:23+00:00

On the checkout page in magento i am getting this error: VarienForm is not

  • 0

On the checkout page in magento i am getting this error:

VarienForm is not defined
[Break On This Error]

var loginForm = new VarienForm('login-form', true);

But when I enter my username and password, it logs me in. Can I remove the error?

PS: I have moved varien js library to the footer.

  • 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-14T22:51:25+00:00Added an answer on June 14, 2026 at 10:51 pm

    The error means that you script isn’t working – that’s it. The fact, that you are being logged in has nothing to do with the VarienForm object – this is a HTML form with submit button, so of course it submits and logs you in. VarienForm’s main task is to validate form data before submit. So usually if you try to log in with empty password or login, VariendForm prevents form from being submitted. In your case, when script is broken, it just won’t do anything before submit.

    So, sorry, but the best advice would be – don’t move this library. Yes, you can fix every single page, where you will meet this error, but it will take a lot of time. And if you will install 3rd party extensions, you will most likely have to modify them too. I don’t think, that such optimization is worth it.

    PS. And unless you are toying with Magento 2, VarienForm is based on Prototype, not jQuery, so your tags are incorrect and SnapGravy’s code most likely won’t work.

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

Sidebar

Related Questions

I am getting error on checkout page: Your card has been declined. Please re-enter
I want to add one new custom field to one page checkout in Magento.
Magento Checkout process, the payment of page generally have this information: =========================================== Your the
So, I am trying to get my new pane on the Ubercart Checkout page
In one page of our site, I have this code: $_SESSION['returnURL'] = /store/checkout/onepage; and
I want to display google checkout at one page checkout page in magento, so
I was following the walkthrough here: http://www.excellencemagentoblog.com/magento-add-custom-fields-checkout-page . I originally asked to open of
In magento checkout page i want Credit card payment on delivery like the cash
How can I change the checkout page headings in Magento?
I want to hide siderbar in magento checkout page. Any one can suggest me

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.