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开发者_StackOverflow社区 select etc.
Can this be done?
How about using Form Block to place the node add form on a page in a block below a view.
About conditional defaults... I guess javascript.
精彩评论