I have a database table that contains child records of another table
and want users to be able to change those child records. The form
helper is doing something strange. I have it loop through my fields
which are varchar, and for some reason one field is creating a select
drop down, all others an input. Why is this happening and how can I
fix it?
Portion of my view:
echo $form->input($somestring['MyTableName']['fieldname'], array(
'div' => false,
'label' => $somestring['MyTableName']
['fieldname_text'],
'before' => '<tr><td style="width:250px;">',
'between' => ': *</td><td>',
'after' => '</td></tr>',
'size' => 65,
'default' => $somestring['MyTableName']['setting']
));
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
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