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

javascript - Hide toolbar of pdf file opened inside iframe using firefox -

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

Copy range with conditional formatting -