On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • Quote from: BobRay at Jul 10, 2008, 04:35 AM

    Quote from: wjc38 at Jul 09, 2008, 06:31 PM

    What a great tutorial and great form. Since your asking for feedback and since I am very much a newbie at this, I figured I might as well. At this moment your request for feedback is the reason I finally registered with Modx. Here goes:

    Your tutorial stops just when it starts to get good.

    Thanks for letting me know! The tutorial somehow got truncated at that point and the rest of it didn’t make it to the production site.

    Take a look and see if it looks a little better. wink

    Bob

    Thanks Bob that is even easier to follow than the readme file. What a great response. laugh

    • A great tutorial. I am also having a problem with nothing except an error message when I submit the form.
      This is the error message I get;
      There were problems with your submission.

      This may be through no fault of your own and is probably not immediately correctable.
      Please come back and try again later.

      I made sure that the correct page ids are in the spfconfig.cfg.php file;

      $spformProcID = 24; // Doc ID of spformproc page
      $spfResponseID = 32; // Doc ID of spfresponse page

      These are the correct page ids.
      I double checked the spelling of the snippet names, and I copied and pasted the snippet code from the turorial
      The page titles are spell checked as well. I enabled "show in menu" for the thank you page (id32) and it comes up ok in the browser.
      Any ideas where to look next?
      Thanks
      HalD
        "Today’s headlines are nothing more than whispers of history"
      • Don’t know what changed or where but SPForm is working perfectly now.
        Thanks for a neat snippet,
        Hal
          "Today’s headlines are nothing more than whispers of history"
        • Quote from: hald at Jul 19, 2008, 05:49 AM

          Don’t know what changed or where but SPForm is working perfectly now.
          Thanks for a neat snippet,
          Hal

          Maybe a cached version still around from before you got it all correct?

          Glad it works now.
            Did I help you? Buy me a beer
            Get my Book: MODX:The Official Guide
            MODX info for everyone: http://bobsguides.com/modx.html
            My MODX Extras
            Bob's Guides is now hosted at A2 MODX Hosting
          • Is it possible to have multiple occurrences of SPForm on a website? For example a contact page for the Recruiter and a contact page for the Director? I understand how the drop-down menu works but I am looking for a solution that just defaults to one e-mail address on the form. I looked up eForm but the page says it has been deprecated.

            Thank you,
            Ian
            • Quote from: idoremus at Oct 27, 2008, 09:35 PM

              Is it possible to have multiple occurrences of SPForm on a website? For example a contact page for the Recruiter and a contact page for the Director? I understand how the drop-down menu works but I am looking for a solution that just defaults to one e-mail address on the form. I looked up eForm but the page says it has been deprecated.

              Thank you,
              Ian

              With the current version of SPForm, all the information is in the config file, I’m afraid, so every version would read the same config. The MODx Revolution version would handle this easily (if it was finished yet wink ).

              Using the current version of SPForm, you could do it, but it’s a little awkward. You’d need to create a second version of of the SPForm and SPFormProc snippets for use on the second page, then create an extra config file for those snippets and change the following line in each snippet to include your new config file (which could be the same except for the recipient email and the id of the page with the spformproc snippet):

              require_once $modx->config['base_path'].$spformPath."spfconfig2.cfg.php";


              eForm might be a better choice, since SPForm was mainly designed to be quick and easy to install and use. I don’t think eForm has been deprecated (you might have been looking at a page for an older version). The current version is here:

              http://modxcms.com/eForm-1003.html
                Did I help you? Buy me a beer
                Get my Book: MODX:The Official Guide
                MODX info for everyone: http://bobsguides.com/modx.html
                My MODX Extras
                Bob's Guides is now hosted at A2 MODX Hosting
              • Great tutorial, unfortunatly on submission i get this:

                There were problems with your submission.

                This may be through no fault of your own and is probably not immediately correctable.
                Please come back and try again later

                --------------------

                and no email is delivered.

                i use bluehost for hosting, do i need to configure something so my mail send works?
                • I use SPForm on Bluehost so it should be fine. The most likely cause is a mistake in the $formProcAllowedReferers array in the config file. It should look something like this (but with your actual domain name instead of "yoursite":

                  $formProcAllowedReferers = array(
                      'yoursite.com',
                      'www.yoursite.com'
                  	
                  ); 
                    Did I help you? Buy me a beer
                    Get my Book: MODX:The Official Guide
                    MODX info for everyone: http://bobsguides.com/modx.html
                    My MODX Extras
                    Bob's Guides is now hosted at A2 MODX Hosting
                  • This is awesome work thank you!!! smiley
                      @hawproductions | http://mrhaw.com/

                      Infograph: MODX Advanced Install in 7 steps:
                      http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

                      Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
                      http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
                    • Quote from: mrhaw at Dec 23, 2008, 12:50 PM

                      This is awesome work thank you!!!  :)
                      Thanks for the kind words. You should see the Revolution version.  wink

                      It sets the allowed referers automatically on installation.
                        Did I help you? Buy me a beer
                        Get my Book: MODX:The Official Guide
                        MODX info for everyone: http://bobsguides.com/modx.html
                        My MODX Extras
                        Bob's Guides is now hosted at A2 MODX Hosting