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).

Comments

YK85’s picture

subscribing

quicksketch’s picture

Title: Hidden Filter & Lowercase Filename » Run hidden field default values through Drupal filter system
Status: Needs review » Needs work

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).

This 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.

quicksketch’s picture

Status: Needs work » Closed (won't fix)

Closing after lack of activity and reasoning in #2.