I have a webform in which I created a field using the "Webform References" module. This field contains taxonomy terms from a vocabulary. Then when I want to apply a webform conditional, I am not able to see this field under the dropdown after the IF dropdown list, however, the field show under the THEN dropdown list.

I need to be able to select and compare the term reference field with a string in order to show another field.

Anybody has this same issue?

Thanks

Comments

DanChadwick’s picture

Project: Webform » Webform References
Version: 7.x-4.8 » 7.x-1.5
Category: Bug report » Feature request

This is really a feature request for webform references to support conditionals. The comparison will be tricky, I fear.

yaach’s picture

Hi Dan,

Thanks for your quick response. I will imagine this feature would be beneficial and I am very surprised nobody has request this yet. However, I was just wondering and trying to look at the webform module code, where (in the code) webform populates the two lists (IF - THEN).

Thanks

  • sumitmadan committed d580f0b on 7.x-1.x
    Issue #2495167 by yalegria: Conditionals do not display components...
sumitmadan’s picture

Status: Active » Fixed

Committed in dev. It doesn't working with Autocomplete widget.

DanChadwick’s picture

Yes. At this point, I don't foresee introducing an API for a component to supply an alternative UI to the right hand operand of the conditional. The select component's select list is built-in (hard coded).

Thanks for your help with this.

yaach’s picture

Thanks @sumitmadan. I have verified your changes and now I am able to see a Term Reference component under the IF condition.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.