Implements additional validations to verify the control digit of NIFs, NIEs and CIFs in your Drupal Webforms.
This module adds some extra validations to Drupal's Webform Validation module. So you better take a look at its documentation.
Once you've installed and activated it, you'll find a few new validation options. To find them, go to your Content menu and edit a webform (or create a new one). Then, go to the Webform tab and open the Form Validation option. There, you'll find new validations for NIFs, NIEs and CIFs.
You must choose one of this validations -let's say Validate NIF, for instance- and, then, specify the field you want to validate.
That's all! :-) Now, if you try to send the form using a non-valid number, Drupal won't accept it.
- This module needs the Webform Validation module.
- This module uses the validations written for the Amnesty International's DataQuality project.
A similar Drupal Module you may be interested in is the Field NIF module.
Amnesty / DataQuality functions. Copyright (C) 2013 Amnesty International.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program (see LICENSE.txt). If not, see http://www.gnu.org/licenses/.