Form validation in structr -


how validate form in structr?

when add value "create:mytype" action attribute in "edit mode binding" tab submit button, html 5 form validation stops working.

i've verified removing action allows html 5 validation process normally.

am doing wrong?

when adding action attribute button (in edit mode binding), structr automatically binds 'onclick' event submits form, preventing browser doing validation based on html5 attributes.

we're experimenting different forms of client-side validation (jquery validation plugin etc.) in latest snapshot builds.

ideally, the server-side validation rules applicable client-based validation. difficult resolve, , html5-based validation harder because not browsers support it.


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -