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.
Increase the variable 'webform_email_select_max' to 60 to allow prebuilt list of 58 US states.
Comment | File | Size | Author |
---|---|---|---|
#1 | webform-increase-webform_email_select_max-value-2254037-comment-1.patch | 781 bytes | themic8 |
Comments
Comment #1
themic8 CreditAttribution: themic8 commentedCreated a patch.
I can update this if added as a co-maintainer.
Comment #2
DanChadwick CreditAttribution: DanChadwick commentedThat's why there is a variable_get -- so that you can easily customize this by storing a value in the database or setting it in $settings.php. I don't see that 60 is a better arbitrary limit than 50, USA not withstanding.
Comment #3
mmikitka CreditAttribution: mmikitka commentedSee the following re: displaying a warning message: https://www.drupal.org/node/2769785