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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Forms & Blueprints

How can i change upload file field text

Started by lrnzt 9 years ago · 2 replies · 701 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 1138 4 months ago
Forms & Blueprints · by Hugo Oliveira, 5 months ago
0 61 5 months ago
Forms & Blueprints · by Flachy Joe, 6 months ago
9 135 6 months ago
Forms & Blueprints · by Augustus, 7 months ago
7 110 7 months ago
Forms & Blueprints · by Julien, 7 months ago
10 129 7 months ago