Running eForm gave me the following error:
[tt]Parse error: syntax error, unexpected ’<’ in D:\xampp\htdocs\powervsn\modx2\manager\includes\document.parser.class.inc.php(705) : eval()’d code on line 1[/tt]
I am using it on my local win2k pc.
Here is what I did.
1) Installing the snippet
(Could
not follow the instruc. to unzip /install, /assets to site root as there is already an /assets folder there.) So copied contents of eForm to /assets/snippets/eform. Copied eform.inc.php to /eform/
Created a new snippet, named it eForm, copied contents of eform.inc.php to it.
2)Called the snippet as
[[eForm? &to=`mailadress.com` &tpl=`9` &formid=`pvForm` &tpl=`cform` &report=`creport` &format=`name:Name:string:1,email:Email:email:1,country:Country:string:0,subject:Subject:string:0,message:Message:string:1`]]
where cform is the chunk that holds the form, creport is the feedback message(Thank you.etc..) chunk.
Please tell me what I am doing wrong here.
Thanks you for your time..sorry for the long post.