Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #2
Liam MorlandDo 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.
Comment #3
Liam MorlandIf you need more help, please re-open and provide details.