1

I've run into issues with the contact form plugin - https://github.com/craftcms/contact-form/issues/156 - Any ideas

4
  • Have you checked where you're redirecting to? i.e. {{ redirectInput('contact/thanks') }}
    – Amy
    Feb 7, 2019 at 13:51
  • Yeah, the redirect is set to '{{ redirectInput('thanks') }}'. This works fine in my local env, and redirects correctly.
    – Gary Voss
    Feb 7, 2019 at 14:01
  • Could you provide some code just incase there's something you might of missed? - Also which version of Craft are you running?
    – Amy
    Feb 7, 2019 at 14:05
  • I've posted the code here: github.com/craftcms/contact-form/issues/156
    – Gary Voss
    Feb 7, 2019 at 14:21

2 Answers 2

1

I inspected your form, and the redirect value is 45e4c422dc3ef7c10d24f04e10a42c07affd1f5456fb253747b332aed6481678thanks.

Perhaps try being more explicit with your redirect, something like: {{ redirectInput(siteUrl ~ 'thanks') }}

0

Responded to your Github issue, but my guess is you're getting a form validation error on submission and your template code isn't doing anything to display those errors. You can see here for an example: https://github.com/craftcms/guest-entries#usage

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.