I am new to magento and I want to make Street and City fields optional on magento registration page. Can anyone please guide or give any idea that how to do this. Thank you

1 Answer 1


comment out the line in the specific phtml files inside the tags that looks like below code

var dataForm = new VarienForm('name-of-form');

Otherwise, comment out the line in page.xml with:

<action method="addJs"><script>prototype/validation.js</script></action>
  • I just need to remove validation from street address and city fields on registration page. Nov 15, 2016 at 12:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.