We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17705
    • 501 Posts
    I am using eform on one site, but after that I tried to set it up on another site and it is not working at all...
    I am having an error like:

    Parse error: syntax error, unexpected T_STRING in /domainpath/public_html/manager/includes/document.parser.class.inc.php(705) : eval()’d code on line 17

    Any idea?

    I have used the same (similar...) code & files of the first site...
    (I am using modx .9.2.1)
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      I am using eForm for the contact form on the Israeli PHP User Group’s site http://www.phpusers.org/contact.html. I have been informed that the form "design spreads in to 2 parts on epiphany web browser". Can anyone verify this for me?
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 17705
        • 501 Posts
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Thank you! This looks quite interesting.

          How embarrassing! The form template was full of xhtml errors! (still don’t know it that fixed the Epiphany issue, there’s an hour queue for the service).
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 17705
            • 501 Posts
            yep... the problem is the long queue time
            the project needs more people sharing their browsers...
              • 30223
              • 1,010 Posts
              Just tried it in Epiphany 1.4.8 on Mandrake Linux. Looks Ok to me now...
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                Thanks, it wasn’t an eForm problem, but the message was a little obscure and it’s hard to track something like that down. Turned out to be a collapsing margin issue. I think... one can never be quite sure about these things.
                  Studying MODX in the desert - http://sottwell.com
                  Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                  Join the Slack Community - http://modx.org
                  • 32133
                  • 7 Posts
                  I have read through all the pages of posts and I have the same questions .... anybody ?


                  <<Any luck with getting the version 2 into the downloads section?
                  I really want to start using it but I’m nervous of all the links and hacks on the first post of this thread!

                  Does the form offer any SMAP protection?... I have two websites that use email forms and SPAMbots have started using them to send SPAM.
                  What would you recommend I do to stop them?
                  Does the eForm come with CAPTCHA?>>>>
                    • 28042 ☆ A M B ☆
                    • 24,524 Posts
                    It’s very simple. Use the snippet from the first link, http://modxcms.com/forums/index.php/topic,2122.msg34495.html#msg34495, and use the include files from the eFormParse link, http://modxcms.com/forums/index.php/topic,2122.msg35514.html#msg35514, in your assets/snippets/eform folder. It works wonderfully. And it does support "captcha" verification. Read the comments at the beginning of the snippet code.
                      Studying MODX in the desert - http://sottwell.com
                      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                      Join the Slack Community - http://modx.org
                      • 32133
                      • 7 Posts
                      And it does support "captcha" verification. Read the comments at the beginning of the snippet code.
                      simply add <img src="[+verimageurl+]" /> to your form

                      I got the form to work. But really want to use the captcha option....but I have tried million of combinations to get either the vericode or the verimageurl to work.

                      For awhile I got the codes/images to show up but they always wouldn’t let me submit the form. As it is set up now it lets me submit the form without entering any info and the image doesn’t show up.

                      I am using all the info from this thread.... I have this to call the form:
                      [[eForm?&formid=`MyForm`&tpl=`myform`&report=`myreport`&to=`[email protected]`&format=`name:Name:string:1,email:Email:email:1,&verimageurl='0'&subject=`Message from web site [+name+]`]]


                      and this in myform
                      <br />
                                Enter the verification code <img src="[+verimageurl+]" /> below:<br />
                                <input name="verimageurl" type="text" size="10" />


                      Here is my url:
                      http://www.storrite.biz/index.php?id=2

                      Thanks for any insight- Mary

                      This discussion is closed to further replies. Keep calm and carry on.