0

When we entering contact form in footer from any page it redirect only - /contact/index/ Any options such that we can submit form in footer any page without redirect to another page

enter image description here

enter image description here

8
  • Check this link to submit form using ajax
    – Hitesh
    Commented Nov 1, 2018 at 7:07
  • Any option without using Ajax contact form submit in footer without url redirect
    – Gagan
    Commented Nov 1, 2018 at 7:20
  • No, There are two option either redirect the user to that URL or submit the form using AJAX
    – Hitesh
    Commented Nov 1, 2018 at 7:22
  • But, how to add Ajax in form - I added contact form in footer section using this link - magento.stackexchange.com/questions/156040/…
    – Gagan
    Commented Nov 1, 2018 at 7:29
  • Ok, you need to override Magento_Contact::form.phtml into your custom theme OR define into custom module check here for how to override phtml file and need to define ajax code there like as I mentioned how to define ajax code here
    – Hitesh
    Commented Nov 1, 2018 at 7:33

0

Your Answer

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

Browse other questions tagged or ask your own question.