Is possible to restrict the range of a select list in accord with the value of a number webform component?

i.e.:

Number component: 
2

Select List component: 
1|1
2|2
3|3
4|4
5|5

The user sees (and can select) olny: 1, 2 in Select List.

Thanks a lot!

Comments

giupenni created an issue. See original summary.

Liam Morland’s picture

Do you mean that some of the options in the select list are disabled? That would have to be done at the time the select element is generated. Webform Validation doesn't work that way.

Liam Morland’s picture

Status: Active » Fixed

If you need more help, please re-open and provide details.

Status: Fixed » Closed (fixed)

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