[support] How to set Default Values based on Selected Entity Reference

Steve Wickham steve at wickwoodonline.com
Thu Mar 28 20:03:00 UTC 2013


Hello Everyone,

Does anyone know of a way to set default values on a new node once an
entity reference field has been selected using data from the entity
referenced?

Here's the situation:
I'm building a site for cycling club and they have Ride Events which we
have set up as one content type.
After a Ride Event is completed, a Ride Report needs to be created and that
content type uses Entity Reference to be associated with the correct Ride
Event.

Ride Reports have a lot of the same data fields as Ride Events, just these
are the actual values versus what was planned, so I would like to set the
default values for Ride Report Fields based on data taken from the
corresponding Ride Event.

Hope that makes sense.  Thanks for any help in advance because this is
making my brain hurt!

All the Best,
Steve Wickham
Wickwood Marketing
P 518-464-6788
F 518-452-6899 (please call first)
C 518-951-0656
steve at wickwoodonline.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20130328/b3ed0893/attachment-0001.html 


More information about the support mailing list