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.

  • 1
    It's probably token based - is there a "view available tokens" link or similar on the page? – Clive Jan 17 '19 at 20:00
  • 1
    What version of Webform are you using? D7 or D8? – jrockowitz Jan 17 '19 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 Jan 18 '19 at 4:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.