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

c++ - list<myClass<int> * > sort -

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

java - why am i getting a "cannot resolve method" error on getApplication? -