Validate inclusion of document type in allowed document types
* Add custom message for inclusion validation to include the allowed values. * Force user to choose document_type from select lik the one shown at verification form. * Convert stored document_type to a human readable text
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
"document_type","document_number","date_of_birth","postal_code"
|
||||
,"44556678T","07/08/1984",7008
|
||||
"DNI",,"07/08/1985",7009
|
||||
"Passport","22556678T",,7010
|
||||
"NIE","X11556678","07/08/1987",
|
||||
"1",,"07/08/1985",7009
|
||||
"2","22556678T",,7010
|
||||
"3","X11556678","07/08/1987",
|
||||
"DNI","Z11556678","07/08/1987",7011
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
"document_type","document_number","date_of_birth","postal_code"
|
||||
"DNI","44556678T","07/08/1984",7008
|
||||
"DNI","33556678T","07/08/1985",7008
|
||||
"DNI","22556678T","07/08/1986",7008
|
||||
"NIE","X11556678","07/08/1987",7008
|
||||
"1","44556678T","07/08/1984",7008
|
||||
"1","33556678T","07/08/1985",7008
|
||||
"1","22556678T","07/08/1986",7008
|
||||
"2","X11556678","07/08/1987",7008
|
||||
|
||||
|
Reference in New Issue
Block a user