Account Deleted
Hello @Joatancarlos, form validation is not easy so good job with this component : )
I opened your repo and I would like to notice that there is no RegEx validation for the inputs except for the email input.
If I try to input just one number as a Name or Lastname nothing is going to block the submitting. Is it made on purpose ? Just adding adding a few more functions validating the other inputs as you did with validateEmail
function would increment the detection of these cases. This resource from MDN Form Validation gives a great overall knowledge different methods in client side validation.
Best wishes!
@Joatancarlos
Posted
@alexcumplido I didn't validate the name inputs because the project didn't require it. Note that the error message refers to the empty input and not about data validation. Only in the email that the data was verified. Any questions, I am available! ;)
Account Deleted
Hey @Joatancarlos, thanks for the reply. I understand your choice then, It is true that the requirements did not ask for it, great to know it.
@Joatancarlos
Posted
@alexcumplido Thanks for your feedback!! See you in other projects