<?php

namespace Listabierta\Bundle\MunicipalesBundle\Form\Type;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
use Symfony\Component\Validator\Constraints as Assert;
use Listabierta\Bundle\MunicipalesBundle\Validator\Constraints\DNI;

class TownStep6Type extends AbstractType
{
	public function buildForm(FormBuilderInterface $builder, array $options)
    {
        $builder->add('continue', 'submit', array('attr' => array('class' => 'submit')));
    }

    public function setDefaultOptions(OptionsResolverInterface $resolver)
    {
    	$resolver->setDefaults(
    			array(
    					'allow_extra_fields' => TRUE
    			)
    	);
    }
    
    public function getName()
    {
        return 'town_step_6';
    }
}
<?php

namespace Listabierta\Bundle\MunicipalesBundle\Form\Type;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
use Symfony\Component\Validator\Constraints as Assert;
use Listabierta\Bundle\MunicipalesBundle\Validator\Constraints\DNI;

class TownStep6Type extends AbstractType
{
	public function buildForm(FormBuilderInterface $builder, array $options)
    {
        $builder->add('continue', 'submit', array('attr' => array('class' => 'submit')));
    }
	
    public function setDefaultOptions(OptionsResolverInterface $resolver)
    {
    }

    public function getName()
    {
        return 'town_step_6';
    }
}
--- 
+++ 
@@ -14,11 +14,16 @@
     {
         $builder->add('continue', 'submit', array('attr' => array('class' => 'submit')));
     }
-	
+
     public function setDefaultOptions(OptionsResolverInterface $resolver)
     {
+    	$resolver->setDefaults(
+    			array(
+    					'allow_extra_fields' => TRUE
+    			)
+    	);
     }
-
+    
     public function getName()
     {
         return 'town_step_6';
Allow extra fields in step 6 voters
