1. You need to figure out what WTForms does. Please refer to http://segmentfault.com/a/1190000002531677
2. For products in B/S mode, the server side only provides the reception, processing and return of data. Browser side, from the client itself. So according to your description, the effect is to get the result on the B side, and the trigger of this result also comes from the B side itself. Then we can only let JavaScript handle this matter. Since this analysis is implemented, the monitoring, processing, and results of the event are also implemented.
1. You need to figure out what WTForms does.
Please refer to http://segmentfault.com/a/1190000002531677
2. For products in B/S mode, the server side only provides the reception, processing and return of data. Browser side, from the client itself.
So according to your description, the effect is to get the result on the B side, and the trigger of this result also comes from the B side itself. Then we can only let JavaScript handle this matter. Since this analysis is implemented, the monitoring, processing, and results of the event are also implemented.