Skip to content
Grav 2.0 is officially stable. Read the announcement →
Forms & Blueprints

How can i change upload file field text

Started by lrnzt 9 years ago · 2 replies · 787 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, 5 years ago
13 1427 5 months ago
Forms & Blueprints · by Hugo Oliveira, 6 months ago
0 219 6 months ago
Forms & Blueprints · by Flachy Joe, 7 months ago
9 313 7 months ago
Forms & Blueprints · by Augustus, 7 months ago
7 294 7 months ago
Forms & Blueprints · by Julien, 8 months ago
10 331 8 months ago