Skip to content

Mapping Formie Address field to Double Secret Agency Google Maps Address field via integration #2765

@bfjare

Description

@bfjare

What are you trying to do?

I am trying to map a Formie Address field to a Double Secret Agency Google Maps Address field through a Formie integration in Craft CMS.

At the moment, these two field types do not map together, which makes it difficult to pass address data between plugins when building forms and integrations in Craft.

The goal is to allow a Formie submission that uses an address field to map cleanly into the Google Maps address field provided by the Double Secret Agency plugin, so the full address data can be stored and used without needing custom workarounds.

@doublesecretagency

What's your proposed solution?

It would be helpful if Formie could support mapping its Address field to the Double Secret Agency Google Maps Address field as part of the integration field-mapping process.

A few possible approaches:

Add native compatibility for the Double Secret Agency Google Maps Address field in Formie integrations.

Allow mapping of structured address subfields such as:

  • street
  • city
  • state
  • postal code
  • country
  • latitude
  • longitude
  • formatted address

Provide a transform or normalization layer so Formie Address data can be converted into the format expected by the Google Maps field.

Right now, this appears unsupported, so the only path is custom development or manual workarounds. Native support would make these plugins work much better together for Craft CMS users who rely on both.

{
"require": {
"aodihis/video-utils": "2.0.2",
"bitmatrix/craft-omnisearch": "2.0.0",
"carlcs/craft-redactorcustomstyles": "4.0.3",
"clarknelson/craft-recaptcha-3": "5.0.0",
"craftcms/aws-s3": "2.3.0",
"craftcms/cms": "^4.17.10",
"craftcms/commerce": "4.7.1",
"craftcms/commerce-stripe": "4.1.5.1",
"craftcms/feed-me": "5.14.0",
"craftcms/redactor": "3.1.0",
"craftsnippets/craft-quick-filters": "2.3.8",
"dolphiq/redirect": "2.0.0",
"doublesecretagency/craft-googlemaps": "4.6.8",
"enupal/stripe": "5.5.2",
"homm/hommxmlsitemap": "1.0.3",
"mailgun/mailgun-php": "^3.5",
"nyholm/psr7": "^1.5",
"nystudio107/craft-minify": "4.0.1",
"nystudio107/craft-retour": "4.1.28",
"php-http/guzzle7-adapter": "^1.0",
"putyourlightson/craft-sprig": "2.15.3",
"spicyweb/craft-neo": "4.4.7",
"studioespresso/craft-easyaddressfield": "4.1.0",
"topshelfcraft/wordsmith": "4.5.0",
"verbb/cloner": "2.0.5",
"verbb/consume": "1.0.17",
"verbb/field-manager": "3.0.9",
"verbb/formie": "^2.2.16",
"verbb/icon-picker": "2.0.23",
"verbb/super-table": "3.0.16",
"vlucas/phpdotenv": "^5.4.0",
"wrav/oembed": "^3.2.1"
},
"require-dev": {
"craftcms/generator": "^1.3.1",
"yiisoft/yii2-shell": "^2.0.3",
"enshrined/svg-sanitize": "~0.22.0"
},
"autoload": {
"psr-4": {
"modules\": "modules/"
}
},
"config": {
"allow-plugins": {
"craftcms/plugin-installer": true,
"php-http/discovery": true,
"yiisoft/yii2-composer": true
},
"sort-packages": true,
"optimize-autoloader": true,
"platform": {
"php": "8.1.0"
}
},
"scripts": {
"post-root-package-install": [
"@php -r "file_exists('.env') || copy('.env.example.dev', '.env');""
]
},
"repositories": [
{
"type": "composer",
"url": "https://composer.craftcms.com",
"canonical": false
}
]
}

Additional context

Both plugins are commonly used in Craft CMS projects, and supporting this field mapping would make Formie integrations more flexible for location-based forms and workflows.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions