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 →

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

form

Started by Kilian 3 years ago · 1 replies · 1281 views
3 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!

3 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 Anna, 2 days ago
2 53 16 hours ago
Forms & Blueprints · by Anna, 3 days ago
7 82 16 hours ago
Forms & Blueprints · by Anna, 1 week ago
5 186 6 days ago
Forms & Blueprints · by TomW, 1 month ago
3 379 1 month ago
Forms & Blueprints · by Japhy, 2 months ago
2 595 2 months ago