plain-solutions-gmbh / kirby-form-block-suite

This form plugin for Kirby offers you maximum flexibility and usability. It can be used as a block anywhere you needed. This repository replaces the obsolete version 2.0.
Other
38 stars 12 forks source link

Strange class in error => "formblock__message__list" #33

Closed cselex closed 10 months ago

cselex commented 10 months ago

Hi! I find this after I get an error message on the form.

image

I checked the code but I don't see anything. You can check here: http://patakimartina.iavel.hu/kapcsolat

plain-solutions-gmbh commented 10 months ago

I verified your network traffic with one of my test environment. And there is a different:

Test environment:

{"state":"invalid","error_message":"
<div class=\"formblock__message--error\" data-form=\"form_error\">

Your environment:

{"state":"invalid","error_message":"
<div class='\"formblock__message--error\"' data-form='\"form_error\"'>

Please check, if there is no custom template in your installation. Especally: site/snippets/blocks/formtemplate/form_error.php

cselex commented 10 months ago

I don't have modified form_error.php. Removed all modified files from snippets. I checked in the local and web environment.

cselex commented 10 months ago

Ok maybe I got it! I got off the kirby-minify-html plugin and the form started to work well.