MyFormworks / Formworks

Formworks is a framework for building forms from JSON files.
https://myformworks.github.io/Formworks/
MIT License
6 stars 1 forks source link

Refactor the validation way #76

Closed EdgSgroi closed 3 years ago

EdgSgroi commented 3 years ago

The way in which components are validated needs to be refactored to be more flexible by creating a protocol that any validator structure should implement.

Galdineris commented 3 years ago

https://regexr.com/37juu As discussed with @EdgSgroi , here is a regular expression that matches multiple Brazillian phone number styles.