Mutipage form error

kent0n 04 Nov, 2010
Hi - I have made a five page multipage form, the first page is fine when i launch the motherform but on clicking the button to launch page two the following error is being displayed in the browser:


Fatal error: Call to a member function bind() on a non-object in /home/lastthur/public_html/components/com_chronocontact/libraries/customcode.php(71) : eval()'d code on line 13



I am generaly terrified by anything that contains the word 'fatal'!

Does anyone know how to fix this/ what the problem is?
GreyHead 04 Nov, 2010
Hi kent0n ,

You probably have a dash '-' 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.

Then you need to change the DB Column names to match.

You need to refresh the DB Connection after any changes to database column names. In the Form Editor click the DB Connection tab and set the Connection to 'No'. Click the 'Apply icon in the toolbar to save the form, open the DB Connection tab, set the Connection back to 'Yes' and re-save the form. This will refresh the copy of the table information that ChronoForms uses.

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