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 11 forks source link

Validation works on localhost, but not in production? #40

Closed getflourish closed 5 months ago

getflourish commented 5 months ago

I implemented the plugin on localhost where it works. But once deployed I see the following issues:

Failed to load resource: the server responded with a status of 400.

The plugin is trying to call https://.../form/validator but that doesn’t seem to exist.

After that, I also get this error but I guess that’s related to the missing result of /form/validator

Inside formblock.js line 80:

TypeError: undefined is not an object (evaluating 'field_data.forEach')

Kirby 4.1.0

What am I missing?

getflourish commented 5 months ago

Closing. I just set up a new form block and now it works. Must have been some corrupt block configuration.