Skip to content

fuzionnz/nz.co.fuzion.autofillrelatedcontacts

Repository files navigation

nz.co.fuzion.autofillrelatedcontacts

This extension allows user to auto-fill the profile fields by selecting a related contact(to which user has a permission to view/edit) in the autocomplete field.

The extension is licensed under AGPL-3.0.

Requirements

  • PHP v5.4+
  • CiviCRM (v5.x)

Installation (Web UI)

This extension has not yet been published for installation via the web UI.

Installation (CLI, Zip)

Sysadmins and developers may download the .zip file for this extension and install it with the command-line tool cv.

cd <extension-dir>
cv dl nz.co.fuzion.autofillrelatedcontacts@https://github.com/fuzionnz/nz.co.fuzion.autofillrelatedcontacts/archive/master.zip

Installation (CLI, Git)

Sysadmins and developers may clone the Git repo for this extension and install it with the command-line tool cv.

git clone https://github.com/fuzionnz/nz.co.fuzion.autofillrelatedcontacts.git
cv en autofillrelatedcontacts

Usage

  • This ext creates an Individual custom group(Related Contact Lookup) and a custom field(Related Contact) on installation.
  • Include this custom field in a profile, eg Name and Address.
  • Enable this profile on an additional participant page.
  • When participant is registered on the event, the profile with autocomplete field is loaded on the additional participant page.
  • User can now select permissioned related contacts in this autocomplete field. On selection, all fields on the profile will be automatically filled with the contact values. Similar to what civi offers on cid=0 page.
  • This custom autocomplete field does not load any contact when the registration is done by an anonymous user.
  • Can be used in conjunction with related permission extension which allows second degree relationship to also load in the autocomplete field.

About

Auto-fill permissioned related contact values on a profile.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published