Hi,

I want to add a "comment" to a new 'Topic' when adding topics. Sort of
like a first post of a new forum category.

To do this, i was hoping that adding a field like this:

echo $form->input('ForumComment.comment');

to my form would create a text area and add the comment in.

instead it makes a text input field (which makes me think cake hasn't
guessed what im on about, since the comment field is a text type. )
and no comment is saved.

Can Cake do this automagicaly, or should i be writing the code to
fetch the last topic id, and insert the comment after the topic
insert?

Thanks for any guidence

Will
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to