前言介紹
- 這款 WordPress 外掛「Campi Moduli Italiani」是 2020-05-28 上架。
- 目前有 500 個安裝啟用數。
- 上一次更新是 2025-04-06,距離現在已有 26 天。
- 外掛最低要求 WordPress 5.9 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
- 有 5 人給過評分。
- 論壇上目前有 2 個提問,問題解答率 50%
外掛協作開發者
外掛標籤
WPForms | codice fiscale | contact form 7 | firma digitale | comuni italiani |
內容簡介
此外掛可建立 Contact Form 7 的表單標籤和 WPForms 的表單欄位。
Contact Form 7
此版本提供了 4 種表單標籤(及相對應的郵件標籤):
* [comune]:建立用於選擇義大利市政選區的選單
* [cf]:建立用於填入自然人義大利稅號的欄位
* [stato]:建立國家選單
* [formsign]:建立每個表單獨有的私鑰數位簽章,使使用者可透過電子郵件傳送此數位簽名
WPForms
提供 2 種欄位類型:
* 義大利市政區階層式選擇(回傳 Istat 的市政區代碼作為值)
* 選擇國家的欄位(回傳 Istat 的國家代碼作為值)
使用的資料
啟用此外掛時,它會自 Istat 和義大利稅務機構網站下載所需的資料。此資料可以從管理控制台更新。
下載和將資料輸入資料庫需要幾分鐘的時間,啟用階段請耐心等待。
市政選區的選擇是從 https://wordpress.org/plugins/regione-provincia-comune/ 的程式碼開始創建的。
此外掛使用 ISTAT 和 Agenzia delle entrate(義大利稅務機構)提供的資料。
具體而言,會獲取和儲存這些網址提供的資料:
https://www.istat.it/it/archivio/6789
https://www.istat.it/it/archivio/6747
https://www1.agenziaentrate.gov.it/documentazione/versamenti/codici/ricerca/VisualizzaTabella.php?ArcName=COM-ICI
ISTAT 網站上發布的資料受創作共同授權 - 署名 (CC-by)(https://creativecommons.org/licenses/by/3.0/it/)管轄,如此處所示:https://www.istat.it/it/note-legali
從 Agenzia delle entrate 網站獲取的資料屬於公共領域,並構成公共資料庫,可以應稅法遵循以及更廣泛地通過稅務代碼識別個人與義大利公共行政機構的身份。
Agenzia delle entrate 網站上的資料可以在您的電腦上自由存儲或列印(https://www.agenziaentrate.gov.it/portale/web/guest/privacy)。該資料由 Agenzia delle entrate 的 Ufficio Archivio 管理。
此外掛僅使用從 Agenzia delle entrate 網站獲取的資料來進行個人稅務代碼的正規性檢查。
此外掛不包含任何連結到外部網頁的功能,也不會向使用它的網站上的 Agenzia delle entrate 或 ISTAT 網站提供任何類型的直接鏈接或深度鏈接。
如何在 Contact Form 7 中使用表單標籤
[comune]
[comune] 在 CF7 表單創建區域內有一個管理器,可設定各種選項。
特別地,可以將“kind”屬性設置為“tutti”(所有),“attuali”(目前),“evidenza_cessati”(已終止的證據)。在第一種和第三種情況下,以不同的方式提出現有的市政區和以前關閉的市政區(例如,用於允許選擇出生市政區)。然而,在“attuali”模式下,僅允許選擇現有市政區(用於允許選擇居住地/住宅的市政區)。
也可以設置“comu_details”選項,以在選擇區塊後顯示圖示,允許顯示具有統計細節的模態表格。
原文外掛簡介
This plugin creates form tags for Contact Form 7 and form fields for WPForms.
Contact Form 7
4 form-tags (and corresponding mail-tags) are available in this version:
* [comune]: creates a series of select for the selection of an Italian municipality
* [cf]: creates a field for entering the Italian tax code of a natural person
* [stato]: creates the ability to select a country
* [formsign]: creates the possibility to digitally sign the e-mails sent with a private key attributed to each individual form
WPForms
2 fields types are available:
* Cascade selection of an Italian municipality (returning Istat’s municipality code as value)
* A field to select a state (returning Istat’s country code as value)
Data used
At the time of activation, the plugin downloads the data it uses from the Istat and from the Italian Revenue Agency websites. This data can be updated from the administration console.
Downloading and entering data into the database takes several minutes: be patient during the activation phase.
The selection of the municipalities was created starting from the code of https://wordpress.org/plugins/regione-provincia-comune/
This plugin uses data made available by ISTAT and the Agenzia delle entrate (Italian revenue agency).
In particular, data made available at these URLs are acquired and stored:
https://www.istat.it/it/archivio/6789
https://www.istat.it/it/archivio/6747
https://www1.agenziaentrate.gov.it/servizi/codici/ricerca/VisualizzaTabella.php?ArcName=00T4
The data published on the ISTAT website are covered by a Creative Commons license – Attribution (CC-by) (https://creativecommons.org/licenses/by/3.0/it/), as indicated here: https://www.istat.it/it/note-legali
The data taken from the website of the Agenzia delle entrate are in the public domain and constitute a public database made available to allow tax compliance and, more generally, to allow the identification of physical persons with the Italian public administrations, through the personal fiscal code.
The data are managed by the Ufficio Archivio of the Agenzia delle entrate.
By Italian law (art. 52 d.lgs. 82/2005) all data, that are not personal data, published by an Italian administration without an explicit license are open data (CC0).
This plugin uses the data taken from the website of the Agenzia delle entrate exclusively for the purpose of carrying out a formal regularity check of the pesonal tax code.
This plugin does not include any links on the external pages of the website on which it is used, neither to the Agenzia delle entrate’s site nor to the ISTAT’s website; in particular, no kind of direct link is made, nor of deep linking.
How to use form tags in Contact Form 7
[comune]
[comune] has a manager in the CF7 form creation area that allows you to set various options.
In particular, it is possible to set the “kind” attribute to “tutti” (all); “attuali” (current), “evidenza_cessati” (evidence ceased). In the first and third cases, in different ways, both the currently existing municipalities and those previously closed are proposed (useful, for example, to allow the selection of the municipality of birth). In the “attuali” mode, however, only the selection of the currently existing municipalities is allowed (useful to allow the selection of the Municipality of residence / domicile).
It is also possible to set the “comu_details” option, to show an icon after the select cascade that allows the display of a modal table with the statistical details of the territorial unit.
The value returned by the group is always the ISTAT code of the selected municipality. The corresponding mail-tag converts this value into the name of the municipality followed by the indication of the automotive code of the province.
From version 1.1.1 hidden fields are also populated with the strings corresponding to the denomination of the region, province and municipality selected, useful for being used in plugins that directly capture the data transmitted by the form (such as “Send PDF for Contact Form 7” )
The cascade of select can also be used outside of CF7, using the [comune] shortcode (options similar to those of the form tag for Contact Form 7).
Starting from version 2.2.0 there is a new filters’ builder for the field [comune] useful for creating fields that allow the selection of a customizable list of municipalities.
Filters can be used both for CF7 tag, and for WPForms field, and for the shortcode ‘comune’.
A short youtube video illustrates how to use filters and the filters’ builder.
[cf]
[cf] has a manager in the CF7 form creation area that allows you to set the various options.
In particular, it is possible to set various validation options allowing you to find the correspondence of the tax code with other fields of the form.
Specifically, it is possible to verify that the tax code corresponds with the foreign state of birth (selected by means of a select [stato]), the Italian municipality of birth (selected by means of a cascade of select [comune]), gender (indicating the name of a form field that returns “M” or “F”), the date of birth. If multiple fields are used to select the date of birth, one for the day, one for the month and one for the year, it is possible to find the correspondence of the tax code with these values.
[stato]
[stato] has a manager in the CF7 form creation area that allows you to set various options.
In particular, it is possible to set the selection of only the currently existing states (“only_current” option) and it is possible to set the “use_continent” option to have the select values divided by continent. The field always returns the ISTAT code of the foreign state (code 100 for Italy). The ISTAT code is the type of data expected by [cf], for the verification of the tax code.
[formsign]
[formsign] NOW (v. 2.2.1) has a manager in the CF7 form creation area.
To use it, simply insert the tag followed by the field name in your own form: for example [formsign firmadigitale]. This tag will create a hidden field in the form with attribute name = “firmadigitale” and no value.
To use the code, it is also necessary to insert the [firmadigitale] mail-tag in the email or emails that the form sends (it is recommended at the end of the email).
In this way, in the email body it will be written a two-lines sequence containing:
an md5 hash of the data transmitted with the module (not of the content of any attached files)
a digital signature of the hash.
If you use html email, you can style the output using a wp option named: “gcmi-forsign-css” with a css as value.
The signature is affixed by generating a pair of RSA keys, attributed to each form.
By checking the hash and the signature, it will be possible to verify that the emails have actually been sent by the form and that the data transmitted by the user correspond to what has been registered.
To facilitate data feedback, it is preferable to use “Flamingo” for archiving sent messages. In fact, in the Flamingo admin screen, a specific box is created that allows feedback of the hash and the digital signature entered in the email.
The system is useful in the event that through the form it is expected to receive applications for registration or applications etc… and avoids disputes regarding the data that the candidates claim to have sent and what is recorded by the system in Flamingo.
Code
Want to check the code? https://github.com/MocioF/campi-moduli-italiani
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Campi Moduli Italiani」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.0 | 1.0.1 | 1.0.2 | 1.0.3 | 1.1.0 | 1.1.1 | 1.1.2 | 1.1.3 | 1.2.0 | 1.2.1 | 1.2.2 | 2.0.0 | 2.0.1 | 2.0.2 | 2.0.3 | 2.0.4 | 2.0.5 | 2.0.6 | 2.0.7 | 2.0.8 | 2.1.0 | 2.1.1 | 2.1.2 | 2.1.3 | 2.1.4 | 2.1.5 | 2.2.1 | 2.2.2 | 2.2.3 | 2.2.4 | 2.2.5 | 2.3.0 | trunk |
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。