2

I'm using Entityreference Prepopulate module. Is there way to pre-populate the field more than once?

Example:

example.com/add/node/custom&field_venue=92,92,92,183

I want the field venue to prepopulate 3 times. I can only do this if I type in the referenced node on the field, but I want it to prepopulate from the URL.

2
  • Do you mean display if so you could try tokens May 27, 2015 at 11:15
  • No. I dont mean display, I was talking about the form when creating a node. Example URL:www.testsite.com/add/node/custom&field_venue=92,92,92,183 I'm using entityreference prepopulate, and I want the field_venue to prepopulate '92' 3 times on the form. May 28, 2015 at 1:03

1 Answer 1

0

D7; Just adjust your contentype, fields names, and token.

<a class="your_class" href="node/add/your_node_type?field_1=[token]&field_2=[token]&field_3=[token]">Your title</a>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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