CiviCRM Data in Flexiforms
Categories
Component ID
2613642
Component name
CiviCRM Data in Flexiforms
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
262
Component created
Component changed
Component body
I needed to build custom forms for CiviCRM data and I was really impressed with Flexiforms.
This module bridges the gaps between the following modules to get CiviCRM data working in Flexiform forms:
How to use
When creating a Flexiform, you need to specify a "base_entity". The base_entity must be a "User". With the base_entity a user, we can add an additional entity as "civicrm_contact" using the getter: "CiviCRM Contact". This getter will load a civicrm_contact entity that is associated to the drupal user.
With the user base_entity and civicrm_contact added, you can now add additional entities like civicrm_address or civicrm_phone.
Example

