Chronoforms 4.0 RC2.0 and Joomla 1.7 Error

london 21 Oct, 2011
Installed on Joomla 1.7 Chronoform 4.0 RC2.0, I copied the html code from a form that works well on Joomla 1.5 and V3.2, I put php code in html using tags, I get this error:
Parse error: syntax error, unexpected T_VAR in : Eval () 'd code on line 16

I attach the code

Thanks in advance
Marco
GreyHead 21 Oct, 2011
Hi london,

The chunk of code at the beginning in <?php . . . ?> tags is JavaScript. The error is because it isn't valid PHP.

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