drgullin / icheck

Highly customizable checkboxes and radio buttons (jQuery & Zepto)
http://fronteed.com/iCheck
7.39k stars 1.63k forks source link

Not working after form displays next set of checkboxes via ajax #357

Open markcy opened 7 years ago

markcy commented 7 years ago

Hello,

I'm a novice when it comes to jquery, but I did get icheck working, first in 1.x and then in 2.x however, my form is multi part, and this causes some trouble.

When the form first loads, icheck is working. Then when I click "next" on my form, it loads another set of fields. These do not get applied to icheck. Also, if I click "previous" on my multi part form, the checkboxes on the first page which were working before, no longer work with icheck.

I'm guessing this is because of the ajax form pages.

I have autoAjax set to true. Can anyone tell me what exactly I need to do to get it working? You can see it at the bottom of this page. https://bravewhale.com/affordable-websites

To reproduce, check an item, click next, then click previous.

Thanks.