Ver Mensaje Individual
  #4 (permalink)  
Antiguo 17/12/2013, 13:12
Avatar de hhs
hhs
Colaborador
 
Fecha de Ingreso: junio-2013
Ubicación: México
Mensajes: 2.995
Antigüedad: 10 años, 10 meses
Puntos: 379
Respuesta: formulario no acepta formato de fecha

Usa datetime en el campo fromDate.
Código PHP:
Ver original
  1. $builder
  2.             ->add('fromDate','datetime',array('format' => 'Y-M',
  3.                                           'years'=>range((date("Y")-14), date("Y")),
  4.                                           'label'=>'Attended from - Periodo desde'))
__________________
Saludos
About me
Laraveles
A class should have only one reason to change.