Hello,
I habe a CF contact form on one site with saves data in db table very well.
Now I have enhanced this form with more fields an installed this on another site, created the database table, changed database name.
But the form still does not save the data in the database table. Attached you'll find a debug from db save. I am already trying 2 days with no result.
What can I do? Thanx in advance!
Peter
Hi Peter,
The Debugger output didn't make it to your post. Please copy and paste in the content so we can see what is happening.
Bob
Here the debug
Array
(
[chronoform] => Anmeldeformular
[event] => submit
[anrede] => Herr
[vorname] => Peter
[nachname] => Xxxxxxxxccc
[strasse] => Street nr
[plz] => 12345
[ort] => Cityname
[email] => Emai@email.com
[subject] => Kursanmeldung: Gw55555
[telefon] => +4912345 678910
[kursnummer] => Gw55555
[namekind] =>
[geburtsdatum] => 09.01.2013
[message] => Messagetext
[iban] => DExxxxxxxxxx
[bic] => Xxxxxxxxxxx
[kontoinhaber] => Bank account name
[agb] => 1
[g-recaptcha-response] => 03AEHxwuwr8haqlsKE0cG61CQUCc2O87Qt0wQcQMB3X6LkrkDh42_PvVuE-VPThU2_W6DPZr2t4_ni40JeIpLUPqY24rcoKrctRgqENSq3GJb1-2XeBq7AgxcuKcKnUftLDojC6Qciww5djHbOXT1gajKThWszrKm--dNfk6N6i1n4LTDwEuxKbz9gFctdmVIiFhMeE_zQMwPlXenEJtiGkkty6tqNir7h9tOQXt7eUejPFt37tZRm52AzeppPLxayrNNVDFY5zuUuQISXqGLYb4K4C6v4GPFpCibIfQiZ--x3-PBtsch3hFHEEQCBqYDTsRMGu2vwZXUpPl8GYPKpt0lLUuBA0WjiRqLwwcPA7f74AAsNmmlcr1NwOiS1PvXEVMsv4ukCjgOPYtEQWYYGU3GQCt8viVuVlgS8PpOs0CpojVoQoL6tVJ5AUADFJwAZ37Gka5VNc1jqsuvphsyXHC13qnUPNcpaVA
[submit6] => Zum Kurs anmelden
[id] => 0
)
Array
(
)
Errors
Array
(
)
Debug Info
Array
(
[15] => Array
(
[DB Save] => Array
(
[Queries] => Array
(
)
)
)
)
Hi Peter,
As you see the DB Save section is empty. What settings do you have for that action?
Bob
Hi Bob,
attached you'll find some screenshots
Peter
Hi Peter,
It looks as if you have Multi Save / Mehrfaches Speichern set to Yes / Ja. That requires an array of results which you don't have, PLease try setting that to No / Nein and see if the save then works OK.
Bob
Hi Bob,
thank your for your help. Suddenly the form stored into database without changes, why ever!
But I have still one little problem:
I have included a field 'datum' and prefilled with the date of today. It is shown in the form, but not storde in database.
Do you have a tip for me?
Attached some screenshots.
I have bought a second licence now, because chronoforms in big!
Thank you in advance
Peter
Hi Peter,
HTML does not submit *disabled* form inputs, make that readonly if you want the data to be submitted.
Bob
Hi Bob,
thank you. But where can I set readonly? At this place I only have disabled, hidden and visible.
Peter
Hi Peter,
Please add readonly=readonly in the Extra Parameters box of the input.
Bob