Thanks, I'd actually found BOOL and was using it.  I ended up
implementing a solution in the following manner.  I implemented and
overrode the beforeSave() method in my Equipment model
(http://manual.cakephp.org/chapter/6), it checks to see if the property
is less than one and sets it to zero if it is.  Thanks for all the
help.

Devo

function beforeSave()
{
  if($this->data['Equipment']['is_elec_taggable'] < 0)
  {
  $this->data['Equipment']['is_elec_taggable'] = 0;
  }
  return true;
}


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to