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.

  • Do you mean display if so you could try tokens – Mohammed Gomma May 27 '15 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. – Joshua Abellare May 28 '15 at 1:03
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>
| improve this answer | |

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.