Skip to content
● Critical PHP security fixes are out: update PHP on your Grav sites. What to do →

How can i change upload file field text

Started by lrnzt 9 years ago · 2 replies · 1135 views
9 years ago

Hey!
i want to change the text "drop your file here" from uploadfile field in a contact form

how can i do this?

9 years ago

Simple way is to create a folder called languages/ and then in that folder create a file called en.yaml (or whatever is your primary language). Then in there simply put:

YAML
PLUGIN_FORM:
  DROPZONE_DEFAULT_MESSAGE: "Your new upload text..."

Suggested topics

Topic Participants Replies Views Activity
Forms & Blueprints · by TomW, 3 days ago
3 79 2 days ago
Forms & Blueprints · by Japhy, 3 weeks ago
2 394 2 weeks ago
Forms & Blueprints · by FrViPofm, 1 month ago
5 395 1 month ago
Forms & Blueprints · by Ton Haarmans, 6 years ago
13 2388 8 months ago
Forms & Blueprints · by Hugo Oliveira, 9 months ago
0 844 9 months ago