Hi there,

I'm experiencing a problem with conditional fields. In Firefox I'm getting the following error:

parentId has no properties
[Break on this error] if (parentTag == 'FIELDSET' && parentId.indexOf("group-") != 0) {

In all browsers my conditional fields are not hidden (all are displayed). It was working some time ago. I've updated to the recent version (June 28). Any ideas?

Comments

bjacob’s picture

After refreshing the page a million times the parentId problem is gone. But another string thing happend. Firefox had no idea how to handle hide(). Very strange. As an alternative I've changed toSwitch.hide() to toSwitch.css('display','none'). This is working very well.

Edit: now I've found another form on my site. There the parentId problem is taking place again. The conditional field is embedded within an fieldset but the fieldset has no class like "group-...". I think this is the problem.

peterpoe’s picture

Status: Active » Postponed (maintainer needs more info)

Is anyone experiencing this issue? I can't reproduce...

mitchell’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Closing this old issue, but please reopen of the issue persists.