Validate field in one page checkout
Hi I need a help with two specifics validations fields in amasty one page checkout.
The first is the dni fields I'm from Chile so in mi country we have a specifc validations for the dni.
And the second validations is in a custom field.
Validation case 1
![](https://desk.zoho.eu/portal/api/uploads/edbsna913d0e7391f4cee9678c2d7dac8610664024854fc6bb933a24e286cb3779299/content?portalId=edbsnb615089a78d311200c11e03e267697cfbfc4a5bcd38882ed07d8869f35742ae4)
Validations case 2
![](https://desk.zoho.eu/portal/api/uploads/edbsn7b1f5e36a919093a53014386d91b14d5a55d5c04e7844621d5940848a2cf885a/content?portalId=edbsnb615089a78d311200c11e03e267697cfbfc4a5bcd38882ed07d8869f35742ae4)