In the controller Before save set some default value like 'empty' or 'N/A' On Thu, Dec 2, 2010 at 10:05 PM, Dave Maharaj <[email protected]> wrote:
> I have a problem I cant seem to get. > > > > User has Location information (city, state, country) with the option to > select “Hide my location”. > > > > So if hide location is selected ( $data[‘private’] => true ) then there is > no need to enter City, State Country) I hide those fields with jquery on > selecting the checkbox. > > > > But if not selected then they must be filled out. > > > > So how can I force / remove validation for those fields based on what the > user has selected? > > > > Thanks, > > > > Dave > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<cake-php%[email protected]>For > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > -- Regards, Zaky Katalan-Ezra QA Administrator www.IGeneriX.com Sites.IGeneriX.com 054-7762312 Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
