Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Experimental project
This is a sandbox project, which contains experimental code for developer use only.
DESCRIPTION
This module provide a field to store italian vat number (partita iva).
INSTALLATION
- Place the entire piva directory into your Drupal sites/all/modules/ or
sites/YOUR_SITE/modules/ directory. - Enable the module by navigating to:
administer > modules
USAGE
In the "Manage fields" tab of your content type just add a new field selecting
"Partita IVA" as field type.
FEATURES
This module provide the following features:
- a simple widget type to input the partita iva in a textfield
- a simple field formatter that output the partita iva as plain text
- field validation
- validate the lenght: must be 11 chars
- validate the content: numbers only
- validate the control code: more info at
http://it.wikipedia.org/wiki/Partita_IVA#Struttura_della_partita_IVA
TODO
This is what i plan to add in the near future:
- additional configuration for the output formatter
CREDITS
The author of this module is:
Francesco Persico (aka iKb on drupal.org)
Project information
- Created by iKb on , updated