Re: Setting the Value of Options in a drop down...

2013-03-08 Thread lowpass
On Wed, Mar 6, 2013 at 8:37 AM, April DeRossett april.deross...@gmail.com wrote: Thanks! ...Unfortunately, sometimes you inherit a database schema and just have to make do with what you have. Yeah, I've been down that road before. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find

Re: Setting the Value of Options in a drop down...

2013-03-06 Thread April DeRossett
Thanks! ...Unfortunately, sometimes you inherit a database schema and just have to make do with what you have. I have, however, located a solution in case anyone else comes across this issue: echo $this-Form-input('Sold', array('options' = array(*'SOLD'='Sold'*),'empty' =

Setting the Value of Options in a drop down...

2013-03-05 Thread April DeRossett
Hello! Here is what I have in my view: if($biddetail['Biddetail']['Sold'] == 'SOLD'){$otherstate = 'OPEN';} else {$otherstate = 'SOLD';} echo $this-Form-input('Sold', array('options' = array($otherstate),'empty' = $biddetail['Biddetail']['Sold'])); Is there no way to set the value to equal to

Re: Setting the Value of Options in a drop down...

2013-03-05 Thread lowpass
On Tue, Mar 5, 2013 at 6:17 PM, April DeRossett april.deross...@gmail.com wrote: Hello! Here is what I have in my view: if($biddetail['Biddetail']['Sold'] == 'SOLD'){$otherstate = 'OPEN';} else {$otherstate = 'SOLD';} echo $this-Form-input('Sold', array('options' =