Plugin / Validar DNI, NIF, NIE y CIF
Hodei DesignDescription
Description
Plugin que te permitirá incluir un campo de texto en tu formulario de Contact Form 7 para validar campos de DNI, NIF, NIE y CIF.
Funcionamiento:
Si el usuario que rellena el formulario no introduce un DNI, NIF, NIE o CIF válido, al pulsar sobre el botón “Enviar” el sistema le devolverá un error de validación.
Los números de DNI, NIF, NIE o CIF deben introducirse sin guiones ni espacios y las letras pueden estar en mayúsculas o en minúsculas:
-
Algunos ejemplos válidos: 123456789A || 123456789a || A123456789 || a123456789 || ab123456789
-
Algunos ejemplos no válidos: 123456789-A || 123456789 a || a-123456789
Cómo crear un campo de validación en Contact Form 7:
Para poder introducir en Contact Form 7 un campo para validar un DNI, NIF, NIE o CIF, es necesario utilizar una de las siguientes etiquetas:
-
Si quiere que el campo sea obligatorio: [text* identidad]
-
Si no quiere que el campo sea obligatorio: [text identidad]
Para más información visita la página del plugin.
English
That Plugin will allow you to include a text field in your Contact Form 7 to validate a Spanish’s DNI, NIF, NIE and CIF fields.
The operation is as follows:
If the user do not enter a valid DNI, NIF, NIE or CIF and press the “Send” button, the system will return an error (“Validation Error”).
The DNI, NIF, NIE or CIF should be entered without dashes or spaces and letters can be uppercase or lowercase:
-
Valid examples: 1123456789A || 123456789a || A123456789 || a123456789 || ab123456789
-
Invalid examples: 123456789-A || 123456789 a || a-123456789
What should I do to create a validation field in Contact Form 7?
You must use one of the following tags:
If you want a required field: [text * identidad]
If you do not want a requiered field: [text identidad]
For more information visit plugin’s website.
Ratings
Rating breakdown
DIRECTORY DISCLAIMER
The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.
The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.
Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.
While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.
wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.