Monday, December 12, 2011

validation rule help

Hi All,

I have a database listing of properties down the page. Each property
row has a date selector and a time selector. I need to somehow
validate that if one of the dates is selected the time must be
selected before the bulk save can happen, if neither are selected it
cane be left blank and addressed later.

Any ideas how I can go about validating this?

The file names are as follows:

DATE - data[Property][777][entry_date]
TIME - data[Property][777][entry_time]

NOTE: 777 is the property ID.


Thanks

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate