Skip to content

Instantly share code, notes, and snippets.

@jblac
Created March 12, 2013 21:15
Show Gist options
  • Save jblac/5147105 to your computer and use it in GitHub Desktop.
Save jblac/5147105 to your computer and use it in GitHub Desktop.
$builder
->add('firstName', 'text', array(
'label' => 'First Name',
'required' => false))
->add('middleName', 'text', array(
'label' => 'Middle Name',
'required' => false))
->add('lastName', 'text', array(
'label' => 'Last Name',
'required' => false))
->add('emailAddress', 'email', array(
'label' => "Email Address",
'required' => false))
->add('phonePrimary', 'text', array('label' => 'Primary Phone', 'required' => false))
->add('phoneSecondary', 'text', array('label' => 'Secondary Phone', 'required' => false))
->add('address1', 'text', array('label' => 'Address', 'required' => false))
->add('address2', 'text', array('label' => 'Address 2', 'required' => false))
->add('city', 'text', array('label' => 'City', 'required' => false))
->add('state', 'text', array('label' => 'State', 'required' => false))
->add('zip', 'text', array('label' => 'Zip Code', 'required' => false))
->add('country', 'text', array('label' => 'Country', 'required' => false))
;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment