hi, im trying to add the selectTag. the select field shows up but i get the following warning:
Notice: Undefined offset: 1 in C:\Apache\xampp\htdocs\cake\cake\libs \view\helpers\html.php on line 950 <?php echo $html->selectTag('status_id', $status, null, array(), null, false, false); ?> <select name="data[status_id][]" id="status_id"> <option value="3" >Declined</option> <option value="6" >Deleted</option> <option value="4" >Delivered</option> <option value="1" >Inquiring</option> <option value="5" >Invoiced</option> <option value="7" >Open</option> <option value="2" >Qualifying</option> </select> 1. has anyone an idea why i get the notice? 2. how can i set Delivered as SELECTED ? thank you pete --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---