forms icon indicating copy to clipboard operation
forms copied to clipboard

Form to be entered into a database doesn't insert anything

Open marck-consulting opened this issue 4 years ago • 3 comments

I've configured a form to the database table "mailing" but it doesn't receive any input, even if the form itself plays back a success message:

## Subscribe subscribe: templates: form: 'partials/_subscribe.twig' feedback: success: Deine E-Mail Adresse email wurden erfolgreich eingetragen. error: Die eingegebene E-Mail Adresse ist ungültig. database: table: name: mailing field_map: mail: 'mail' timestamp: 'lastseen_at' url: ~ path: ~ ip: 'last_ip'

marck-consulting avatar Oct 04 '20 14:10 marck-consulting

hi @marck-consulting , are you still experiencing some issue? Do you get any error messages?

I-Valchev avatar Oct 23 '20 13:10 I-Valchev

It's just not working as expected (nothing ends up being written to the database) but I don't receive any specific errors I could work with.

marck-consulting avatar Oct 23 '20 13:10 marck-consulting

Bolt 5.1.3 / Php 8.1 / MariaDB 10.3 I'm experiencing the same issue - No error when the form is submitted but the database table remains empty. I'm wondering if the config is not correct or if there is some other steps that have to be taken to connect the database table? Or is this feature just not functioning? My config for the form is in the attached txt file. waitlist.txt

ScottCrumpler avatar Mar 11 '22 21:03 ScottCrumpler