Summary
Quick summary what this issue is about.
Hi All. I’m an older user of ModX from the days of etomite (yes, that long). I’ve made a couple of sites and my small business homepage runs on it.
I thought it was about time I added a contact page that works.
I couldn’t get FormIt to work. The tutorials are just non-plug and play.
SPForm was meant to ‘just work’… which it did… but then it didn’t.
Step to reproduce
After trying different options with FormIt, I gave up. I then saw a post from Bob somewhere saying SPForm was plug and play. Amazing I thought. I tried it. The install failed, because I had a page with an Alias already called ‘contact’, so I renamed that page, uninstalled, and reinstall again. This time it worked.
I sent a test email to my self from my new empty blank tempated page. Yay!
https:\\mywebsite.com\contact\    (128)
It forwarded me to a newly empty blank tempated page sent myself an email.
https:\\mywebsite.com\thankyou\   (129)
Great stuff! Finally working.
So, I thought it should have the current site template. So I changed this newly created page (128) to have a template.
https:\\mywebsite.com\contact\
I hit submit, and it then it failed to send an email, and failed to forward be to the thankyou page. Instead, I got sent to this page which doesn’t exist:
https:\\mywebsite.com\contact\contact\
with an error “Oops”. (404)
I’m on the latest versions.
MODX Revolution 2.8.6-pl
SPForm: 3.3.4-pl
This is what I’m using, as per the default.
[[!SPForm?
    &warnAll=`0`
    &adviseAll=`0`
    &spfDebug=`1`
    &test_mode=`0`
    &includeResetButton=`0`
    &dfltSubj=`Contact`
    &addSubjSig=`1`
    &requireName=`1`
    &requireSubject=`1`
    &recipientArray=`Webmaster :[email protected]`
    &mailAlso=``
    &maxLinks=`3`
    &errorsTo=`[email protected]`
    &spformTpl=`spformTpl`
    &spformProcTpl=`spformprocTpl`
    &chkFormRefNotSelf=`1`
    &chkFormRefOwnServer=`0`
    &formProcBlankRefOkay=`1`
    &formProcAllowedReferers=`mywebsite.com`
    &spfResponseID=`129`
]]
<div class="spf_captcha_instructions">[[+spf-captcha-instructions]]</div>
<div class="spf_captcha_image">[[+spf-captcha-image]]</div>
<div class="spf_input_pair">
    <span class="spf_block_prompt">[[+spf-captcha-input-prompt]]</span>
    <span class="spf_normal_input">[[+spf-captcha-input]]</span>
</div>
Anyway, I don’t know why SPForm isn’t working. Any help would be great. 