Raising an error in WTForm using jinja2
问题 I'm trying to raise an error in Jinja2, in a WTForm, the error should be raised if url input is not validated, but when i submit an invalide url, i get a popup saying "Please enter a url". how do i pass the default popup and add a custom error message ? here is the main py: from datetime import datetime from flask import Flask, render_template, url_for, request, redirect,flash from logging import DEBUG from flask_wtf import FlaskForm from wtforms import StringField, PasswordField from flask