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

python - Setting ctypes.Structure default values -

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

java - HTTP Status 500 - No data type for node: org.hibernate.hql.internal.ast.tree.IdentNode -