How do I put a custom version of node/add form in a view using customfield in drupal 6?

Posted by niedakh on Stack Overflow See other posts from Stack Overflow or by niedakh
Published on 2010-05-26T15:13:25Z Indexed on 2010/05/28 7:12 UTC
Read the original article Hit count: 595

Filed under:
|
|
|

Hi,

I'm trying to add a pre-filled 'add reply' form to a view of nodes. Reply is a content-type (reply) with certain fields that need to be prefilled based on what is in the view. This way a user can see only the selected fields from the node/add/reply.

At the moment I'm building the forms manually - copy the form from node/add, do some modifications using php & views customfield, but I would like to be able to just push default values to some fields and hide some others and then make drupal render it with all the javascript glory like date select etc.

Can this be done?

© Stack Overflow or respective owner

Related posts about drupal

Related posts about form