1

So in webforms module, there's a checkbox to Rename files. The File Name pattern text field. What are some examples on what to use?

I noticed that I put in a text string "fileupload" and it didn't change the files that were uploaded. It just kept the original file names.

3
  • 1
    It's probably token based - is there a "view available tokens" link or similar on the page?
    – Clive
    Commented Jan 17, 2019 at 20:00
  • 1
    What version of Webform are you using? D7 or D8?
    – jrockowitz
    Commented Jan 17, 2019 at 20:45
  • Please use token to specify the uploaded filename like: banner_[token_placeholder]. Don't provide file extension, the extension will be programmatically taken from the uploaded file.
    – johirpro
    Commented Jan 18, 2019 at 4:01

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.