dsheiko / HTML5-Form-Shim

⛔️ [DEPRECATED] That is a jquery plugin, which emulates HTML5 Form Validation on old browsers. The plugin also allows to customize form submission validation tooltips and field validation callbacks (e.g. via XMLHttpRequest)
http://dsheiko.github.io/HTML5-Form-Shim/
71 stars 17 forks source link

Applying the shim to a dynamically generated form #12

Open weberhofer opened 10 years ago

weberhofer commented 10 years ago

Dear Dmitry is there a method foreseen to add the shim to all children of a dynamically created DOM element?

dsheiko commented 10 years ago

I'm working on 2.3.0 branch, it's fully refactored. This feature will be implemented

dsheiko commented 10 years ago

Hmm, it is supposed to be available in the current branch as well... You just need to call hfFormShim.init() after the form is generated (without passing boundingBox it will init all the forms with data-enable-shim='true')