Forums

ChronoForms v 4 problem with saving to DB

Qbik 31 Aug, 2011
Hello
i just try V4 and it works great, almost

1. after i restore DB entry from earlier version the V4 not save new entry to DB. I know that there is a problem with AUTO_INCREMENT for cf_id

Do You know any solution for that?

2. with second form with radio buttons after i try to submit it it show

Parse error: syntax error, unexpected '-', expecting '{' in /home/users/wikaro/public_html/wikaro_TEST/administrator/components/com_chronoforms/form_actions/db_save/db_save.php(63) : eval()'d code on line 3

Fatal error: Call to a member function bind() on a non-object in /home/users/wikaro/public_html/wikaro_TEST/administrator/components/com_chronoforms/form_actions/db_save/db_save.php on line 86



and i don't have idea whats wrong😟

and before I prepare table for this form i try to show on "Thanks Message" result of radio button and it show only {button} not result
GreyHead 31 Aug, 2011
Hi Qbik,

The columns the ChronoForms creates in the tables have changed in Cfv4. That said it should still be possible to write to the tables provided that they have an autoincrementing primary key.

From the error you probably have a dash '-' in one of your input/column 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.

Bob
Qbik 31 Aug, 2011
ok thx

i forgot about this issue

I change and its work

and after i change name of the columns for IP and time, it start to add new entry after restore old one😉

EDIT
one more think

when i add address to site on mail it not add html i have to do it myself

so I add <a href="www.mysite.pl" />www.mysite.pl</a>

and it show it on email but address look like http://www.mysite.pl/www.mysite.pl

How to fix it?
GreyHead 31 Aug, 2011
Hi Qbix,

Try using single quotes in the link tag
<a href='www.mysite.pl' />www.mysite.pl</a>


Bob
This topic is locked and no more replies can be posted.