Use a post validator. A simple Google search returned as the first result a
link to the symfony website with an example to resolve exactly your problem:
http://www.symfony-project.org/forms/1_1/en/02-Form-Validation#chapter_02_global_validators
On Mon, Dec 13, 2010 at 3:03 PM, himanshu
Hi, himanshu
You can validate it using postValidator in form. Or you can put restrict in
your your form using jQuery datepicker if you want. I don't understand that
validate in model level. All possible to implement.
Have a good day.
Erkhembayar Gantulga
On Mon, Dec 13, 2010 at 9:03 PM,
I have a form which collects two dates. A check-in and a check-out date.
I am able to validate all form data.
I want to validate the piriod (between check-in and check-out dates) is
available or not.
I want to make it at model level.
Is it possible to validate at model level during form
Hi,
I advice you to read this :
http://www.symfony-project.org/jobeet/1_2/Propel/en/10
Francis.
2010/12/13 himanshu hisupa...@yahoo.com
I have a form which collects two dates. A check-in and a check-out date.
I am able to validate all form data.
I want to validate the piriod (between