bolt / forms

MIT License
21 stars 27 forks source link

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

Open marck-consulting opened 4 years ago

marck-consulting commented 4 years ago

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'

I-Valchev commented 4 years ago

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

marck-consulting commented 4 years ago

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.

ScottCrumpler commented 2 years ago

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