Q:

how to get only street address as they sign up

Is there any way to add the address form to the registration form or any free addon to add an extra field to the registration form so that I can get the customer location as they sign up?
I tried many times with  <?php $this->setShowAddressFields(true);?> this code but i want only street address it gives company name , country etc. ui want just street address.

A:

First of all,it not really good idea to Only show  street-address on register form by disabling by rest of address field.
@saravanavelu solve your visualization on register  form but you must get error whenever  want  to save that address. Because of customer/adderss does save rest of required fields like city,zipcode,country value.Then Magento customer address Model (customer/address) Thrown  error.
Better idea to add a new  a customer attribute to Customer  entity type which will save the street address to customer table. Which will show on customer registration,edit,checkout form address.
See how to
   install an Customer attribute in magento
   Adding custom attribute to Customer
Also. need more detail checkout at http://excellencemagentoblog.com/blog/2011/10/02/customer-registration-fields-magento1-6/

