I am building a website for a real estate company. They want a functionality that triggers a popup when someone clicks the “Download Brochure” button. After submitting an inquiry through the popup form, the user should be automatically redirected to the brochure URL.
The website has over 1000 properties listed, and the brochure URLs are stored in ACF (Advanced Custom Fields). I am using Contact Form 7 in my popup.
How do I redirect the user to the brochure URL upon form submission?
Is there any way I can set the redirection URL based on the input from ACF?
Shaighan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.