dadata_integration
3 sites
No security coverage
Project Description
DaData Integration connects Drupal forms with the DaData Suggestions API to provide smart autocomplete for addresses, cities, companies, names, and emails. Simplifies form filling and improves data accuracy.
Features
-
Autocomplete for:
- Addresses (with granular control: country, region, city, settlement, street, house).
- Companies (party) — quick organization search.
- Full names (fio) — autofill personal names.
- Emails — suggest valid email addresses.
- Works with any textfield in Drupal (including Webform elements).
- Multiple fields can be configured via the admin UI.
- Configurable API URL (for self-hosted gateways or DaData mirrors).
- Ships with translation support (English + Russian).
Post-Installation
After enabling the module:
- Go to Configuration → Web services → DaData Integration (/admin/config/services/dadata).
- Enter your API Key (required) and optionally override the Base API URL.
- Add the form fields (by HTML id, e.g. edit-city) that should use DaData suggestions.
-
For each field, choose:
- Suggestion type (address, fio, email, party).
- Granularity (bound) — only available for addresses.
- Save the configuration.
From now on, the configured fields will automatically show DaData suggestions as users type.
Additional Requirements
- Drupal 10 or later.
- A valid DaData API key (free or paid, available at dadata.ru).
- No additional contrib modules required.
Community Documentation
- DaData API Docs — official API reference.