0

Is there any module that auto-populates the fields of a node/add form with the values of an already existing node? I would like to pass the node ID in the URL and get the form prepopulated with the values taken from that node.

I know it is possible to do; I am just wondering if someone has already done it in a module I could use.

  • There is the Prepopulate Module (drupal.org/project/prepopulate) that might help you along the way with respect to fields, but I'm not aware of any that does it for all of them. – Jimajamma May 14 '13 at 1:55
2

Did you mean node clone module?

The clone module allows users to make a copy of an existing item of site content (a node) and then edit that copy. The authorship is set to the current user, the menu and url aliases are reset, and the words "Clone of" are inserted into the title to remind you that you are not editing the original content.

  • Do you know if this module works fine with field collections? – Luiz Guilherme May 14 '13 at 12:35
  • As far as I remember, yes, but you need to test it yourself - there are so many add-ons not compatible with each other it's hard to tell what will and what won't work on any given setup. – Mołot May 14 '13 at 12:38
  • Just tested it. It does not work as I expected. It copies the reference for the collection, so if you change a value of a field of the field collection in the new copy, it will also change the value on the old one. – Luiz Guilherme May 14 '13 at 13:44
  • 1
    Consider filing a bug report. It seems it should be easy to fix, so maybe it will get fixed before you will find a better way. – Mołot May 14 '13 at 13:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.