title: Magento EE 1.11 - Customer Attributes Not Visible
body: <p>Our client wants to add an 'Industry' dropdown to customer registration. We have created a new customer attribute, 'industry' and entered in the appropriate values. </p>
  
  <p>It was not showing on the front-end. I looked into <code>customer/form/register.phtml</code> and it wasn't calling anything for attributes, so I pulled from <code>enterprise/default/template/customer/form/register.phtml</code> the following:</p>
  
  <pre><code>&lt;?php $customerAttributes = $this-&gt;getChild('customer_form_user_attributes');?&gt;
  &lt;?php if ($customerAttributes): ?&gt;
      &lt;?php $customerAttributes-&gt;setShowContainer(false);?&gt;
      &lt;?php $this-&gt;restoreSessionData($customerAttributes-&gt;getForm());?&gt;
      &lt;?php echo $customerAttributes-&gt;toHtml()?&gt;
  &lt;?php endif;?&gt;
  </code></pre>
  
  <p>And then I added in the .xml update found in 'enterprise/layout/customer.xml':</p>
  
  <pre><code>&lt;remove name="right"/&gt;
  &lt;remove name="left"/&gt;
  &lt;reference name="root"&gt;
  &lt;action method="setTemplate"&gt;&lt;template&gt;page/1column.phtml&lt;/template&gt;&lt;/action&gt;
  &lt;/reference&gt;
  &lt;block type="page/html_wrapper" name="customer.form.register.fields.before"     translate="label"&gt;
  &lt;label&gt;Form Fields Before&lt;/label&gt;
  &lt;!--action method="setMayBeInvisible"&gt;&lt;value&gt;1&lt;/value&gt;&lt;/action--&gt;
  &lt;action method="setElementClass"&gt;&lt;value&gt;rewards&lt;/value&gt;&lt;/action&gt;
  &lt;/block&gt;
  &lt;block type="enterprise_customer/form" template="customer/form/userattributes.phtml" name="customer_form_user_attributes"&gt;
  &lt;action method="setFormCode"&gt;&lt;code&gt;customer_account_create&lt;/code&gt;&lt;/action&gt;
  &lt;action method="setEntityModelClass"&gt;&lt;code&gt;customer/customer&lt;/code&gt;&lt;/action&gt;
  &lt;/block&gt;
  &lt;block type="enterprise_customer/form" template="customer/form/userattributes.phtml" name="customer_form_address_user_attributes"&gt;
  &lt;action method="setFormCode"&gt;&lt;code&gt;customer_register_address&lt;/code&gt;&lt;/action&gt;
  &lt;action method="setEntityModelClass"&gt;&lt;code&gt;customer/address&lt;/code&gt;&lt;/action&gt;
  &lt;/block&gt;
  &lt;reference name="content"&gt;
  &lt;block type="customer/form_register" name="customer_form_register" template="customer/form/register.phtml"&gt;
      &lt;action method="append"&gt;&lt;block&gt;customer.form.register.fields.before&lt;/block&gt;          &lt;alias&gt;form_fields_before&lt;/alias&gt;&lt;/action&gt;
      &lt;action method="append"&gt;&lt;block&gt;customer_form_user_attributes&lt;/block&gt;    &lt;/action&gt;
      &lt;action method="append"&gt;    &lt;block&gt;customer_form_address_user_attributes&lt;/block&gt;&lt;/action&gt;
  &lt;/block&gt;
  &lt;/reference&gt;
  &lt;update handle="customer_form_template_handle"/&gt;
  </code></pre>
  
  <p>At this point, the attributes are not visible on the front-end. If I perform:</p>
  
  <pre><code>&lt;pre&gt;
  &lt;?php print_r($customerAttributes-&gt;getUserDefinedAttributes()) ?&gt;
  &lt;/pre&gt;
  </code></pre>
  
  <p>I am returned the array of attributes as I would expect. What am I missing here?</p>