Error - DB save - Chronoforms 4.0 RC2.0 and Joomla 1.7

london 19 Dec, 2011
My form works fine until I activate the Save function DB, then I get this error:

Parse error: syntax error, unexpected '-', expecting ',' or ';' in : Eval () 'd code on line 13

Fatal error: Call to a member function bind () on a non-object in on line 86

I attach the parameters specified in the wizard - event - dbsave, I get the error when I submit the form

Thank in advance for you help,
London
GreyHead 19 Dec, 2011
Hi london ,

You probably have a dash '-' or some other special character in one of your input names. Dashes give ChronoForms and MySQL problems. Please rename the input using only [a-z], [A-Z], [0-9] or underscore '_'. No dashes, spaces or other special characters.

You'll need to rename the column in the database to match.

Bob
london 20 Dec, 2011
Hi GreyHead,

thank you for your answer I 'll try and let you know,
bye
London
london 20 Dec, 2011
Hello GreyHead,
Solved!
you were absolutely right, I had a mess in the names of the fields in the database, especially - instead of _,

thanks
Marco (London)
This topic is locked and no more replies can be posted.