validation - Symfony2 backend datetime yml validatiion -


i've been trying validate datetime field using yml (validation.yml) file. though validates "datetime type" doesn't validate "null" or "blank". i've tried using notblank , notnull.

  expirationstartdate:         - datetime: ~         - notblank: ~      expirationenddate:         - datetime: ~         - notblank: ~ 


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -