Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

How can i change upload file field text

Started by lrnzt 9 years ago · 2 replies · 986 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 Ton Haarmans, 6 years ago
13 2071 7 months ago
Forms & Blueprints · by Hugo Oliveira, 8 months ago
0 574 8 months ago
Forms & Blueprints · by Flachy Joe, 9 months ago
9 664 9 months ago
Forms & Blueprints · by Augustus, 9 months ago
7 715 9 months ago
Forms & Blueprints · by Julien, 10 months ago
10 700 10 months ago