简体   繁体   中英

Is there a python web framework/toolkit that provides client-side form validation?

There are a lot of tools to build html forms using python 1 . Most of these provide a means to do form validation, but only on the server side (ie, after the submit button is pressed). Are there any ways to implement a client-side form validation in python? Do client-side operations this complicated require JavaScript?

1 for example: https://wiki.python.org/moin/WebComponents

The web2py framework has client-side validation options.

There is a plugin called plugin_ValidationEngine that implements server-side validators on the client side, and powerformwizard (see https://bitbucket.org/rochacbruno/powerformwizard/overview ) does something similar in a wizard-steps kind of format.

There may be others -- there are numerous contributed plug-ins for web2py.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM