Thank you for the excellent module! I'm trying to use the Field Conditional State to make elements of my EntityForms become visible/invisible depending on the value of other elements on the form.

Unfortunately, it doesn't seem to work with a Select (or Other) text field. I'm guessing this has to do with how each module handles states and/or where Field Conditional State is expecting to do its work with relation to the page elements. Is there anyway you'd be able to take a look at this or at least point me toward what would need to be done to fix this up?

Comments

haydeniv’s picture

This is probably related to the same issue that webform conditionals suffers from. We have another issue for that at #1811206: Using Select or Other breaks conditionals.

Basically the select or other JavaScript fires on page load. The conditionals module changes when the fields are loaded on the page so the select or other javascript never fires.

I need to figure out a way to do the select or other javascript using the formapi instead of custom js and hopefully that will fix the compatibility problems for both issues. It will probably be a while before that happens though as it's quite a bit of work and testing needed. You are more than welcome to submit a patch for it though.

legolasbo’s picture

Version: 7.x-2.9 » 7.x-3.x-dev
Issue summary: View changes

New features will be developed against the 7.x-3.x branch

legolasbo’s picture

Status: Active » Closed (won't fix)

Field conditional state does not currently support the select or other widget. I'll help with any issues they encounter when/if they want to support the widget, but for now I'll close this issue.