Closed (outdated)
Project:
Webform
Version:
7.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Sep 2018 at 15:23 UTC
Updated:
23 Sep 2025 at 16:42 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ruudvanoijen commentedThe patch
Comment #4
paulvandenburg commentedI don't know why that patch failed, the test results all seem to have passed?
However I did find some stuff that could be better.
- The hook pre save is not the best place to perform the conversion.
Instead use a value_callback on the element so the converted value is converted everywhere, both on the preview page as well as navigating back and forth on a multi page form.
- I think the message for the new checkbox could be more clear.
I've made the mentioned modifications in this patch.
Comment #6
tvoesenek commentedPatch works as described.
Comment #7
liam morlandThanks for the patch.
In webform_textfield_uppercase_value(),
$inputshould not have a default value because it is followed by a parameter that does not have one. The new feature needs a test. Please run a coding standards check on the patch.Comment #8
liam morlandDrupal 7 is no longer supported. If this applies to a supported version, please re-open.