Re: data values being changed at save

2006-07-31 Thread Jonny Blaze
Thanks Grant This does happen with my own views. i pointed out the behavior of bake because it seems to point to an overall design choice (since cake changes data when saving to a tinyint(1) field, AND when bake sees a tinyint(1) field it assumes that it is a yes/no field) Bug submitted, thanks

Re: data values being changed at save

2006-07-30 Thread Grant Cox
In both scaffolding and bake, where Cake automagically interprets your fields, tinyint(1) will be represented as a checkbox. However, with your own views you should be able to use any form element you like. If I am understanding your issue correctly (that when a field is tinyint(1), without usin

Re: data values being changed at save

2006-07-30 Thread Jonny Blaze
new theory... when i bake the views for this controller, the project_status and project_priority fields are checkboxes instead of input fields... i changed the tinyint(1) fields to tinyint(2) fields, and everything works as it is supposed to now. so i'm guessing any tinyint(1) field in a database

data values being changed at save

2006-07-30 Thread Jonny Blaze
Hey all, brand new to Cake but I'm loving it so far. I ran into a hitch trying to save some form data, and was wondering if anybody could help me figure out what the problem is. Two values, both the result of select boxes, are being changed when the form is submitted. The values are correct in