Moderator: madimar

Post by LuisaX » Sat Jan 27, 2018 1:34 am

Ciao
Ho impostato un custom field per il codice fiscale che viene richiamato nella fattura
Come faccio a essere sicura che i clienti lo compilino in modo corretto? Molti scrivono due lettere a caso e questo viene accettato.
Credo di dover usare il campo "Validation" ma non so in che modo.
Grazie a tutti per l'aiuto
Luisa

User avatar
New member

Posts

Joined
Fri Feb 19, 2016 4:53 pm

Post by deepvyas » Sat Jan 27, 2018 10:36 pm

Hello Lusia,
I have checked your post detail
Can help you further
Let me know, if interested

Regards
Deep

Expert Opencart Developer & Designer | S: deepvyas71 | E: deepvyas71@gmail.com


Active Member

Posts

Joined
Thu Jan 12, 2017 7:04 pm

Post by Burt65 » Sun Jan 28, 2018 7:36 am

deepvyas wrote:
Sat Jan 27, 2018 10:36 pm
Hello Lusia,
I have checked your post detail
Can help you further
Let me know, if interested

Regards
Deep
I think her name is actually Luisa not Lusia.

This is also the Italian forum, so it would help if you could actually reply in Italian!

Over 95% of all computer problems can be traced back to the interface between the keyboard and the chair...


User avatar
Active Member

Posts

Joined
Mon Nov 18, 2013 3:23 pm
Location - Oz

Post by LuisaX » Tue Jan 30, 2018 12:16 am

Grazie...se qualcuno mi può aiutare in Italiano è meglio :-)

User avatar
New member

Posts

Joined
Fri Feb 19, 2016 4:53 pm

Post by dachiaru » Tue Jan 30, 2018 12:57 am

Per mettere un controllo devi farti fare o una modifica custom oppure prendere una delle tante estensioni che esistono per il controllo sul codice fiscale e partita iva. (non mi sembra che nessuna lavori però sui campi custom ma piuttosto crea campi extra ad hoc)

c'è quella di madimar (che è il moderatore di questo forum) vedi se può esserti utile:

https://www.opencart.com/index.php?rout ... on_id=2527

ciao ciao

Consulenza informatica. Soluzione web su misura. Creazione siti web. Creazione soluzioni eCommerce avanzate opencart, joomla, wordpress. Creazione extension. Ottimizzazione SEO, servizio posizionamento web professionale e garantito.
INFO SITI: https://www.masterwebsite.it
CONTATTO SKYPE: masterwebsite.it


User avatar
Active Member

Posts

Joined
Mon Oct 22, 2012 5:39 pm
Location - Roma

Post by LuisaX » Fri Feb 02, 2018 7:43 pm

Grazie mille!
Non basterebbe settare nel modo giusto il campo "validation" Regex ?
Attualmente non è settato in quanto non so che parametri usare. Se qualcuno sa dove poter trovare una guida o spiegazione mi sarebbe di grande aiuto.
Luisa

User avatar
New member

Posts

Joined
Fri Feb 19, 2016 4:53 pm

Post by raikage » Fri Feb 02, 2018 11:27 pm

Ciao usa questo codice nel campo validation se utilizzi opencart 3

Code: Select all

/^[a-zA-Z]{6}[0-9]{2}[abcdehlmprstABCDEHLMPRST]{1}[0-9]{2}([a-zA-Z]{1}[0-9]{3})[a-zA-Z]{1}$/
a questo link lo puoi testare tu stessa https://www.informaticazone.it/test2/in ... t/register

https://www.opencartitalia.org
Consulenza,Sviluppo Extension per: Opencart,Magento,Prestahop,Wordpress,Ocart,Zencart,Joomla,Multimerch e SEO Specialist Certified

Info e Contatti

Image


User avatar
Active Member

Posts

Joined
Mon Jun 03, 2013 3:04 pm
Who is online

Users browsing this forum: No registered users and 60 guests