You are here

README.txt in Entity reference autofill 7

The Entity reference autofill module gives Entity reference fields
support to populate fields in their form with values from the
referenced entities.


Installation
------------

This module is dependant on the Entity reference module,
which can be downloaded from https://drupal.org/node/2140229


Configuration
-------------

- First, you need to add a field you want to be auto-filled to your entity.

- If you plan to load the referenced values from another entity type or bundle,
  you will need to add the same to the referenced entity.

- When you have set up both a source and destination field, add an
  entityreference field to the source entity. Currently supported widgets are
  autocomplete, select list and radio buttons. Note that the field can only have
  one value, ie multi-value fields wont work.
  
- Now, in the reference field's instance settings, enable "Entity reference autofill"
  under "Additional behaviors". Select the fields you wish to fetch from the
  referenced entity.

- Optionally, unselect "Overwrite existing data" if you want to preserve
  field data already entered before selecting referenced entity.
  
- Go to the entity form and try it out by loading a value into the
  reference field.

File

README.txt
View source
  1. The Entity reference autofill module gives Entity reference fields
  2. support to populate fields in their form with values from the
  3. referenced entities.
  4. Installation
  5. ------------
  6. This module is dependant on the Entity reference module,
  7. which can be downloaded from https://drupal.org/node/2140229
  8. Configuration
  9. -------------
  10. - First, you need to add a field you want to be auto-filled to your entity.
  11. - If you plan to load the referenced values from another entity type or bundle,
  12. you will need to add the same to the referenced entity.
  13. - When you have set up both a source and destination field, add an
  14. entityreference field to the source entity. Currently supported widgets are
  15. autocomplete, select list and radio buttons. Note that the field can only have
  16. one value, ie multi-value fields wont work.
  17. - Now, in the reference field's instance settings, enable "Entity reference autofill"
  18. under "Additional behaviors". Select the fields you wish to fetch from the
  19. referenced entity.
  20. - Optionally, unselect "Overwrite existing data" if you want to preserve
  21. field data already entered before selecting referenced entity.
  22. - Go to the entity form and try it out by loading a value into the
  23. reference field.