Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

How can i change upload file field text

Started by lrnzt 9 years ago · 2 replies · 1208 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 weeks ago
3 277 3 weeks ago
Forms & Blueprints · by Japhy, 1 month ago
2 526 1 month ago
Forms & Blueprints · by FrViPofm, 2 months ago
5 522 2 months ago
Forms & Blueprints · by Ton Haarmans, 6 years ago
13 2516 9 months ago
Forms & Blueprints · by Hugo Oliveira, 10 months ago
0 958 10 months ago