Italian fiscal code validation/control - Angular
10:45 19 Nov 2021

Could someone tell me how to check fiscal code (at least for name and surname) in Angular?

EXAMPLE -->

name: Lorenzo

lastname: Rossi

How do I check that I have correctly entered the consonants of the name and lastname in the fiscal code?

fiscal code: RSSLRN87A14L219U. At least RSSLRN is right?

Unfortunately I don't have a reactive form. This is my HTML.

Codice fiscale

Thanks in advance!!

angular typescript validation controls primeng