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

Anoop John anoop.john at zyxware.com
Fri Mar 29 06:19:40 UTC 2013


> 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.

Can't this be done using a hook_node_prepare in your module?
(http://api.drupal.org/api/drupal/modules%21node%21node.api.php/function/hook_node_prepare/7)

Thanks
Anoop

|--
| Zyxware Technologies
| http://www.zyxware.com
|--
| Be the change you wish to see in the world, M. K. Gandhi
|--


More information about the support mailing list