validator not working when submit code example Example: validate on submit not working {{ form.csrf_token }}