Add the possibility to link address part fields to an address webform element

Created on 22 May 2024, 6 months ago
Updated 16 August 2024, 3 months ago

Problem/Motivation

One of our CiviCRM forms has an address field that's split up in street, street_number, box, postal_code and city fields. In Webform, an address field is a composite element, which basically means that it's 1 element with a bunch of sub elements. Currently, it doesn't seem to be possible to link CiviCRM fields with these sub elements.

Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

🇧🇪Belgium dieterholvoet Brussels

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @dieterholvoet
  • Status changed to Needs review 3 months ago
  • 🇳🇱Netherlands jaapjansma

    This is now added in version 2.1.0-beta8 of this module. You have to make sure that name the elements in your form processor as 'address_city', 'address_country' etc... The address_ is the key of the composite element. The _city and _country are the sub elements (which you cannot give another name in the webform.

Production build 0.71.5 2024