Closed (won't fix)
Project:
Webform
Version:
6.x-3.6
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Jan 2011 at 23:09 UTC
Updated:
9 Aug 2013 at 00:29 UTC
Here is a patch that I've used to add two much needed features. Please let me know if this helps.
1) Allow the hidden component to use a Drupal filter, especially if you need to provide a default value as PHP.
2) Convert the entire file name to lowercase. Although I suppose this is really much more of a bigger topic to possibly integrate PathAuto (and possibly Token).
| Comment | File | Size | Author |
|---|---|---|---|
| webform-hidden-filter-lowercase-filename.patch | 3.35 KB | markhalliwell |
Comments
Comment #1
YK85 commentedsubscribing
Comment #2
quicksketchThis request won't be handled in Webform. See Transliteration, which provides this functionality site-wide.
No issue should contain two feature requests jammed together anyway, so I've retitled this issue to reflect the remaining feature request.
Considering the primary purpose of this patch is to enable PHP in the default value for a hidden field (a concept to which I'm opposed), I'm demoting this to minor. I don't have any plans on incorporating this feature presently, but in any case it needs to be rerolled to include only relevant changes. A matching D7 patch could also help, but like I said I'm not sure it would be included at all.
Comment #3
quicksketchClosing after lack of activity and reasoning in #2.