I have 2 tables, 1 of them holds information for the current "specials" running in the store. The other table is the list of services we offer.
the model names are Specials and Tsplus.
I am treating the Tsplus table as categories. Each row in the table is listed as a checkbox with it’s ID as the value. That value is then stored in the Specials table as a foreign ID.
Thank you, that allowed the value to be passed, however I was getting the "must be an integer" error. After checking the value being passed the code is trying to set the id as: Array.
I can’t figure out why it’s not passing the value even though the HTML code shows that the values are being set properly…
public function rules() {
// NOTE: you should only define rules for those attributes that
// will receive user inputs.
return array(
array('title, listPoints', 'required'),
array('title', 'length', 'max'=>250),
array('tsPlus_id', 'safe'),
array('id, tsPlus_id, signStop_id, title, listPoints', 'safe', 'on'=>'search'),
);
}