We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8307 ☆ A M B ☆
    • 77 Posts
    I have a set of forms working great on my dev box. I have a clone of that box for staging that I manually push files to. When the formit forms are submited - emails go out but instead of hitting the redirect it bounces back to the form field with the email validation fired. I am clearing the cache between sites and everything. All my files are there. Any ideas? [ed. note: dylanwood last edited this post 12 years, 9 months ago.]
      • 27708 MODX Staff
      • 2,502 Posts
      Are you able to show your Formit call?
        Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub
        • 8307 ☆ A M B ☆
        • 77 Posts
        [[!FormIt?
        &hooks=`email,redirect`
        &emailTpl=`BBContactEmailChunk`
        &redirectTo=`69`
        &emailFrom=`[email protected]`
        &emailTo=`[email protected]`
        &emailCC=`[[+cc]]`
        &emailSubject=`[[+subject]]`
        &validate=`fname:required,
        cname:required,
        email:email:required,
        phone:phone:required,
        zip:zip:required,
        comment:required:stripTags`
        ]]

        This is it - works GREAT on my dev site. I'm taring all my files - moving them to the staging server, then manually deleting the cache. The crazy part is that each of the form calls works on the dev box and the staging box is the same. I can use the mail() command, the box can deliver mail. I've verified the file structure on the staging box too - not missing a thing.
          • 8307 ☆ A M B ☆
          • 77 Posts
          I suspect its server config related - but I've exhausted everything. The only difference is where the boxes are so it must be the fact that the dns can't resolve properly or something on the staging box.