SimonJ Posted November 26, 2023 Share Posted November 26, 2023 hi all, is there code to make the post-submit Thank You message appear in a separate tab to the Redirect (which opens tab with a PDF brochure)? At the moment the message appears for a split second and then disappears as the PDF brochure tab opens. I would like to have more information in the message for the client to read as well as having the brochure in a separate tab. Thanks. Simon Link to comment
tuanphan Posted November 28, 2023 Share Posted November 28, 2023 You mean when users enter the form >> show a message + open a pdf in a new tab? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
SimonJ Posted December 11, 2023 Author Share Posted December 11, 2023 Yes exactly - I would like to display a message and open a PDF in a new tab. At the moment the message appears and then instantly disappears as the PDF opens in the same tab. Link to comment
tuanphan Posted December 12, 2023 Share Posted December 12, 2023 In post form message >> Enter this code to HTML box <p>enter your message text here</p> <script> window.open('http://stackoverflow.com', '_blank'); </script> Replace stackoverflow with your pdf url Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment