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

Form validation replaces inserted values with special characters replaced by html entities

form

Started by Kilian 2 years ago · 1 replies · 734 views
2 years ago

I have a simple contact form where fields are validated with patterns.
When trying to send the form and validation of the fields fails, the values filled in the form fields are replaced by an "escaped" version (with html-entities) - means eg.:
"Thomas Test" becomes ""Thomas Test""
"[email protected]" becomes "test@test.com"

Could anybody help me how and where to fix that?
Thx in advance!

2 years ago

Great question, well explained.

Have you tried searching the Form plugin issues on Github? I'm not saying that's where the answer is, only that it seems like a good place to start. There are a few issues that seem similar. Please tell us if that helps.

Suggested topics

Topic Participants Replies Views Activity
Forms & Blueprints · by Ton Haarmans, 5 years ago
13 1139 4 months ago
Forms & Blueprints · by Hugo Oliveira, 5 months ago
0 63 5 months ago
Forms & Blueprints · by Flachy Joe, 6 months ago
9 137 6 months ago
Forms & Blueprints · by Augustus, 7 months ago
7 112 7 months ago
Forms & Blueprints · by Julien, 7 months ago
10 131 7 months ago