We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1771
    • 11 Posts
    I have two sites that I have MODx installed on - a development site and a live site. I tested out eForm on the dev site with no problems and proceeded to copy the code to the live site. However, when I submit the form on the live site, it seems that somewhere, eForm is adding an extra container when it tries to go to a Thank you page.

    Here is the site: http://www.sf.edu/sf/CrownPoint/request-information

    When I click submit, I get sent to http://www.sf.edu/sf/CrownPoint/CrownPoint/request-information. Somewhere an extra CrownPoint container gets added when the form is processed.

    Here is a copy of the snippet code:
    [!eForm? &formid=`CPAdmissions` &subject=`Crown Point Admissions` &to=`[email protected]` &tpl=`cpform` &report=`contactReport` &gotoid=`27` !]


    From the cpform chunk:
    <form id="CPAdmissions" method="post" action="[~[*id*]~]">

    I have even tried using the hidden input field with no success.


    I have also copy and pasted the code from the wiki thinking it was something in my form, and I get the same error: http://www.sf.edu/sf/CrownPoint/thank-you

    I am using eForm 1.4.3 and have even re-downloaded and installed the code. I’m stumped as to what may be going on since it works in my dev environment and not my live site - which sit on the same server and are just in different folders. Any help or suggestions would be greatly appreciated!

    Cheers,
    Amberly
      • 30223
      • 1,010 Posts
      It’s not eform that is at fault. Try adding <base href="[(site_url)]" /> to the head of your html template(s). Just the way things work in MODx smiley
        • 1771
        • 11 Posts
        Thanks! Figures it was something basic that I overlooked.