dhtmlx form 3.5 radio and checkbox BUG

i downloaded version 3.5 of the form and when i created a form it worked ok. Then i decided to add a little more functionallity using radio and checkboxes. Unfortunatelly it didn’t work!

When i decided to check the source code i saw that the function doAddLabel(…) is using this: _dhxForm_isIPad = (navigator.userAgent.search(/iPad/gi)>=0); which was commented.

I removed the comment and now it is working like a charm!

In case somebody else is having this problem now you know how to fix it:)


which was commented
shouldn’t be

what was the problem?