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

  • Check this link to submit form using ajax – Hitesh Nov 1 '18 at 7:07
  • Any option without using Ajax contact form submit in footer without url redirect – Gagan Nov 1 '18 at 7:20
  • No, There are two option either redirect the user to that URL or submit the form using AJAX – Hitesh Nov 1 '18 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 Nov 1 '18 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 Nov 1 '18 at 7:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.