Validating textarea using javascript

Note: You can make contact forms quickly with Simfatic Forms.

Parsley comes with various error messages for its built-in validators.

They are shipped in English by default, but many other languages are available, thanks to the awesome international Parsley community. To load a different locale and its messages, include them after Parsley: The last loaded file will automatically set the messages locale for Parsley.

In the example above, we load both French and Italian translations, and use Italian.

It helps you provide your users with feedback on their form submission before sending it to your server.

It saves you bandwidth, server load and it saves time for your users.

Leave a Reply