Create a select component and create a conditional which uses IS or IS AFTER as the operator. Have no default. When the webform is initially displayed and before a radio button is selected, the conditionals will be true. They should be false.

For reasons that aren't clear to me now, I defined NULL as less than any value. I think the result of that should be NULL, rather than 1 or -1 in webform_compare_select() and the jQuery equivalent for intra-page conditionals.

Comments

danchadwick’s picture

Status: Active » Needs review
StatusFileSize
new1.73 KB

Marking as Needs Review not because it actually needs review, but because I want to see the Tests pass.

danchadwick’s picture

Status: Needs review » Fixed

Yippie. Tests pass. Committed to 7.x-4.x and 8.x.

  • DanChadwick committed a861ebe on 8.x-4.x
    Issue #2531842: Conditional on select with no value matches is and is-...

  • DanChadwick committed e73059f on
    Issue #2531842: Conditional on select with no value matches is and is-...

Status: Fixed » Closed (fixed)

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