ES
Eric Stéfano

Modern Contact Form - Copy this Html, Tailwind Component to your project

I need a form with 8 inputs, 7 of them should have their types set to text and 1 of them should have the type set to email. 4 of the inputs (the ones with the type set to text) should validate if the user typped x ammount of characters in the input (for 2 of them this ammount should be 5 characters, and for the other 2 the ammount should be 9 characters), this validation should occur on blur and if the validation doesn't check, the input should be considered invalid. The form cannot be submitted if any input is considered to be invalid and any invalid input should display an error message below the input.

Prompt
Component Preview

About

Modern Contact Form - Features 8 inputs, 7 text and 1 email. Validates character length on blur, shows error messages for invalid entrie. Start coding now!

Share

Last updated 1 month ago