robbie007 Posted June 12, 2017 Share Posted June 12, 2017 (edited) Hi, I have a small request (Prestashop 1.7.1). When filling in the contact form and sending your message the system shows the succes line (for example "message send" but show the complete contact form with all the fields too. Those fields contain the same info as before sending. So customer still sees his emailadress, message, etc. How to hide the contactform after submitting your email? Edited June 12, 2017 by robbie007 (see edit history) Link to comment Share on other sites More sharing options...
prestashop.pp Posted June 17, 2017 Share Posted June 17, 2017 (edited) Hello It will be tricky because its a php form request and after submit it redirects back to same contact page with additional success message. One easy solution for this is using javascript in custom.js, you check for a unique class in the html and hide the contact form with Javascript/jQuery. If you don't know how to do it it, I can post code. Edited June 17, 2017 by prestashop.pp (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now