We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36461
    • 102 Posts
    My form is working, I can send message and I’ll receive them in e-mail, errors are also working.
    But unfortunately redirectTo isn’t working and I don’t understand why.
    Resourse I want redirect to exists and is published, it’s only hidden from menus, but that shouldn’t be a problem. I recheked ID many times laugh

    What could be the problem here ?

    [[!FormIt?
    &hooks=`email`
    &emailTpl=`sentEmailTpl`
    &emailSubject=`Ziņojums no mājas lapas`
    &emailTo=`[email protected]`
    &validate=`Name:required:minLength=`2`,
          Email:email:required,
          Message:required`
    &redirectTo=`19`
    ]]
    
    • add redirect to &hooks
        modx and ecommerce pro
        • 36461
        • 102 Posts
        Thank you ! That worked smiley