Validation Brazilian name

Business Mapping - Validation

Name:
Validation Brazilian name
Type:
Business Mapping
Subtype:
Validation
Description:
Force field to be written in Brazilian name
Keywords:
validation capital mayusculas letters
Release Date:
2018-02-20
Author Name:
Ranieri Slemer

Test with first letter is uppercase, and all words is a valid Brazilian name (with length, number of words and characters)

<map>
<originmodule>
<originname>contacs</originname>
</originmodule>
<fields>
<field>
<fieldname>firstname</fieldname>
<validations>
<validation>
<rule>regex</rule>
<restrictions>
<restriction>''(?=^.{2,60}$)^[A-ZÀÁÂĖÈÉÊÌÍÒÓÔÕÙÚÛÇ][a-zàáâãèéêìíóôõùúç]+(?:[ ](?:das?|dos?|de|e|[A-Z][a-z]+))*$'</restriction>
</restrictions>
</validation>
</validations>
</field>
</fields>
</map>


Next | Chapter 5: SalesOrder2PurchaseOrder.


Updates