A
A
Artyom Innokentiev2015-11-21 19:25:09
Django
Artyom Innokentiev, 2015-11-21 19:25:09

Is there a native way to validate form fields on the front in Django?

I looked at the documentation, there is about validation on the back, but I did not find about front-end validation.
There are error_messages , but they appear after the data is sent to the server and validated on the server.
I want it to be like here . Those. if you enter invalid data, then an error occurs immediately, before the data is sent to the server.
I know you can use jQuery Validation , but I'm really interested in whether Django has such tools.
PS The Yii framework has native support for front-end validation - I would like to know if this can be done in Django.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question