Title: Departamentos y Ciudades de Colombia para Contact Form 7
Author: Jupa
Published: <strong>15. rujna 2022.</strong>
Last modified: 02. rujna 2026.

---

Pretraga dodataka

![](https://ps.w.org/departamentos-y-ciudades-de-colombia-para-contact-form-7/assets/
banner-772x250.png?rev=2785003)

![](https://ps.w.org/departamentos-y-ciudades-de-colombia-para-contact-form-7/assets/
icon.svg?rev=2785003)

# Departamentos y Ciudades de Colombia para Contact Form 7

 Od [Jupa](https://profiles.wordpress.org/jupa8/)

[Preuzmi](https://downloads.wordpress.org/plugin/departamentos-y-ciudades-de-colombia-para-contact-form-7.1.3.1.zip)

 * [Detalji](https://hr.wordpress.org/plugins/departamentos-y-ciudades-de-colombia-para-contact-form-7/#description)
 * [Recenzije](https://hr.wordpress.org/plugins/departamentos-y-ciudades-de-colombia-para-contact-form-7/#reviews)
 *  [Instalacija](https://hr.wordpress.org/plugins/departamentos-y-ciudades-de-colombia-para-contact-form-7/#installation)
 * [Razvoj](https://hr.wordpress.org/plugins/departamentos-y-ciudades-de-colombia-para-contact-form-7/#developers)

 [Podrška](https://wordpress.org/support/plugin/departamentos-y-ciudades-de-colombia-para-contact-form-7/)

## Opis

This plugin is an addon for Contact Form 7 that lets you list Colombian departments
and cities. To list departments use: `[dycccf7_state department]`. To list cities
use: `[dycccf7_city city]`. The city field automatically filters its options based
on the department selected in the same form.

#### Features

 * Two form-tag types: department dropdown and city dropdown.
 * The city list updates automatically to match the selected department.
 * Server-side validation confirms the submitted department and city actually belong
   to the official list, not just that the field isn’t empty.
 * Script and data are only loaded on pages where the form actually uses these fields.
 * Works correctly with multiple form instances on the same page.

## Snimke zaslona

[⌊The [dycccf7_state] and [dycccf7_city] form-tags in the Contact Form 7 editor.⌉⌊
The [dycccf7_state] and [dycccf7_city] form-tags in the Contact Form 7 editor.⌉[

The `[dycccf7_state]` and `[dycccf7_city]` form-tags in the Contact Form 7 editor.

[⌊The department and city dropdowns on the front end.⌉⌊The department and city dropdowns
on the front end.⌉[

The department and city dropdowns on the front end.

## Instalacija

The plugin can be installed in two ways.

#### Manual installation

 1. Download and upload the plugin files to the `/wp-content/plugins/departamentos-
    y-ciudades-de-colombia-para-contact-form-7` directory.
 2. Activate the plugin through the “Plugins” screen in WordPress.

#### WordPress interface installation

 1. Open the Plugins screen in your WordPress admin and click “Add New”.
 2. In the search box, type “Departamentos y Ciudades de Colombia para CF7” and press
    Enter.
 3. Click “Install” to install the plugin.
 4. Activate the plugin.

## Pitanja i odgovori

### How do I add the departments list?

Use the following form-tag in the Contact Form 7 editor: `[dycccf7_state department]`

### Can I use the departments list on its own?

Yes, just use the `[dycccf7_state department]` form-tag.

### Can I use the cities list on its own?

No, the department form-tag is required for the city field to work.

## Recenzije

Nema recenzija za ovaj dodatak.

## Suradnici i Programeri

“Departamentos y Ciudades de Colombia para Contact Form 7” je softver otvorenog 
koda. Sljedeće osobe su doprinijele ovom dodatku.

Suradnici

 *   [ Jupa ](https://profiles.wordpress.org/jupa8/)

“Departamentos y Ciudades de Colombia para Contact Form 7” je preveden na 3 jezika.
Zahvala [prevoditeljima](https://translate.wordpress.org/projects/wp-plugins/departamentos-y-ciudades-de-colombia-para-contact-form-7/contributors)
za njihov doprinos.

[Prevedite “Departamentos y Ciudades de Colombia para Contact Form 7” na svoj jezik.](https://translate.wordpress.org/projects/wp-plugins/departamentos-y-ciudades-de-colombia-para-contact-form-7)

### Zainteresirani ste za razvoj?

[Pregledajte kôd](https://plugins.trac.wordpress.org/browser/departamentos-y-ciudades-de-colombia-para-contact-form-7/),
pogledajte [SVN spremište](https://plugins.svn.wordpress.org/departamentos-y-ciudades-de-colombia-para-contact-form-7/)
ili se pretplatite na [dnevnik razvoja](https://plugins.trac.wordpress.org/log/departamentos-y-ciudades-de-colombia-para-contact-form-7/)
od [RSS](https://plugins.trac.wordpress.org/log/departamentos-y-ciudades-de-colombia-para-contact-form-7/?limit=100&mode=stop_on_copy&format=rss).

## Dnevnik promjena

#### 1.3.1

 * Fixed: the plugin’s text domain now matches its slug, and internal function names
   use a consistent prefix.
 * Removed the bundled translation files; translations are now handled entirely 
   through translate.wordpress.org.

#### 1.3.0

 * Fixed: forms with more than one instance of the department/city fields no longer
   collide by sharing the same id; each instance now works independently.
 * Fixed: the dropdowns now reset correctly when the form reloads or is added dynamically
   to the page (AJAX submissions, popups, etc.).
 * Fixed: the `id:` option from the CF7 tag editor is now respected and reflected
   in the HTML.
 * Fixed: the city field no longer renders if the form does not also include a department
   field (previously it stayed permanently disabled and unusable).
 * Security: added server-side validation so the submitted department and city actually
   match the official list (previously only checked that the field wasn’t empty).
 * Performance: the script and department/city data now only load on pages where
   the form actually uses these fields, instead of on the whole site.
 * Performance: Colombia’s data was centralized into a single JSON file, avoiding
   duplication between PHP and JavaScript.
 * Added translation support: the plugin’s base language is now English, with Spanish
   translations included (es_ES and es_CO).

#### 1.2.0

 * Code refactor.
 * Added a check for the required CF7 plugin.
 * Fixed an error shown when the field is required.

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.3.1**
 *  Zadnje ažuriranje **prije 2 mjeseca**
 *  Aktivnih instalacija **60+**
 *  WordPress inačica ** 6.6 ili viša **
 *  Testirano do **7.1.4**
 *  PHP inačica ** 7.4 ili viša **
 *  Jezici
 * [English (US)](https://wordpress.org/plugins/departamentos-y-ciudades-de-colombia-para-contact-form-7/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/departamentos-y-ciudades-de-colombia-para-contact-form-7/),
   [Spanish (Colombia)](https://es-co.wordpress.org/plugins/departamentos-y-ciudades-de-colombia-para-contact-form-7/),
   i [Spanish (Spain)](https://es.wordpress.org/plugins/departamentos-y-ciudades-de-colombia-para-contact-form-7/).
 *  [Prevedite na vaš jezik](https://translate.wordpress.org/projects/wp-plugins/departamentos-y-ciudades-de-colombia-para-contact-form-7)
 * Oznake
 * [cities](https://hr.wordpress.org/plugins/tags/cities/)[colombia](https://hr.wordpress.org/plugins/tags/colombia/)
   [contact form 7](https://hr.wordpress.org/plugins/tags/contact-form-7/)[departments](https://hr.wordpress.org/plugins/tags/departments/)
 *  [Napredni pogled](https://hr.wordpress.org/plugins/departamentos-y-ciudades-de-colombia-para-contact-form-7/advanced/)

## Ocjena

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/departamentos-y-ciudades-de-colombia-para-contact-form-7/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/departamentos-y-ciudades-de-colombia-para-contact-form-7/reviews/)

## Suradnici

 *   [ Jupa ](https://profiles.wordpress.org/jupa8/)

## Podrška

Želite nešto reći? Potrebna vam je pomoć?

 [Pregledaj forum za podršku](https://wordpress.org/support/plugin/departamentos-y-ciudades-de-colombia-para-contact-form-7/)

## Doniraj

Želite li podržati napredak ovog dodatka?

 [ Donirajte ovom dodatku ](https://www.jupa.co/)