In the code I can see this which is causing the redirect to not work I think, I am not sure where it came from? <form method="post" action="/contact#contact_form" id="contact_form"
Yep, you can use js for that. Instead of redirecting we look for parameters in the url. When they are found on page load we show the success message, I will post the code here in a sec
https://117fc9-51.myshopify.com/ on the password page fill in password "fourtimesone" and login, it redirects to /password (the login button is in the corner its kinda hidden under the spline logo sorry)
<script> pageFunctions.addFunction('showNewsletterElements', function() { // Get the current URL const url = window.location.href;
// Check if URL contains both the parameter and fragment if (url.includes('?customer_posted=true') && url.includes('#contact_form')) { // Find all elements with hs-newsletter-show attribute const newsletterElements = document.querySelectorAll('[hs-newsletter-show]');
// Set display to flex for each element newsletterElements.forEach(element => { element.style.display = 'flex'; }); } }); </script> This is how you can check if a form was successfully submitted and then show stuff based on that (maybe you need to remove the pageFunctions wrapper and use dom content loaded)
This is how you can check if a form was successfully submitted and then show stuff based on that (maybe you need to remove the pageFunctions wrapper and use dom content loaded)","upvoteCount":0,"dateCreated":"2025-02-11T18:08:28.172Z","datePublished":"2025-02-11T18:08:28.172Z","dateModified":"2025-02-11T18:08:28.172Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#61dfcb11-21d2-4b35-8839-dc1fd15e12ec","author":{"@type":"Person","url":"https://liquify.hall.community/members/685f9152-96a7-4792-bb53-1ecef2a3d572","name":"marv","identifier":"685f9152-96a7-4792-bb53-1ecef2a3d572","image":"https://cdn.discordapp.com/avatars/946850237652275232/24c3b073f0970a764c857f27eea561ec.webp?size=256"}},{"@type":"Answer","text":"You dont actually need to add a redirect, you can remove that in webflow","upvoteCount":0,"dateCreated":"2025-02-11T18:09:00.509Z","datePublished":"2025-02-11T18:09:00.509Z","dateModified":"2025-02-11T18:09:00.509Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#e7116188-d5d4-44cf-b8e4-75441b47acca","author":{"@type":"Person","url":"https://liquify.hall.community/members/685f9152-96a7-4792-bb53-1ecef2a3d572","name":"marv","identifier":"685f9152-96a7-4792-bb53-1ecef2a3d572","image":"https://cdn.discordapp.com/avatars/946850237652275232/24c3b073f0970a764c857f27eea561ec.webp?size=256"}},{"@type":"Answer","text":"@Kevin","upvoteCount":0,"dateCreated":"2025-02-11T18:09:07.052Z","datePublished":"2025-02-11T18:09:07.052Z","dateModified":"2025-02-11T18:09:07.052Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#414603d7-7e33-42e6-99b7-e2a24611f382","author":{"@type":"Person","url":"https://liquify.hall.community/members/685f9152-96a7-4792-bb53-1ecef2a3d572","name":"marv","identifier":"685f9152-96a7-4792-bb53-1ecef2a3d572","image":"https://cdn.discordapp.com/avatars/946850237652275232/24c3b073f0970a764c857f27eea561ec.webp?size=256"}},{"@type":"Answer","text":"Thanks Marv! I am just thinking how to avoid the redirect, since it automatically redirects me now to https://117fc9-51.myshopify.com/password?customer_posted=true#contact_form","upvoteCount":0,"dateCreated":"2025-02-11T18:14:13.037Z","datePublished":"2025-02-11T18:14:13.037Z","dateModified":"2025-02-11T18:14:13.037Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#6240b466-affd-4fda-814e-a46e29d9cf15","author":{"@type":"Person","url":"https://liquify.hall.community/members/8b700aad-8ac4-432d-9401-5c44abf19015","name":"Kevin","identifier":"8b700aad-8ac4-432d-9401-5c44abf19015","image":"https://cdn.discordapp.com/avatars/1006974650649170020/ef75e3f8749ca2d66d80839a141c01da.webp?size=256"}},{"@type":"Answer","text":"I think you cant, Shopify does that automatically","upvoteCount":0,"dateCreated":"2025-02-11T18:19:02.573Z","datePublished":"2025-02-11T18:19:02.573Z","dateModified":"2025-02-11T18:19:02.573Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#bf552494-5610-4f6b-8215-f4c67a817dd1","author":{"@type":"Person","url":"https://liquify.hall.community/members/685f9152-96a7-4792-bb53-1ecef2a3d572","name":"marv","identifier":"685f9152-96a7-4792-bb53-1ecef2a3d572","image":"https://cdn.discordapp.com/avatars/946850237652275232/24c3b073f0970a764c857f27eea561ec.webp?size=256"}},{"@type":"Answer","text":"Ah so why would you suggest to show a succes message? I dont understand","upvoteCount":0,"dateCreated":"2025-02-11T18:55:38.282Z","datePublished":"2025-02-11T18:55:38.282Z","dateModified":"2025-02-11T18:55:38.282Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#56b483e9-d354-4a96-9f33-4076f470ff9f","author":{"@type":"Person","url":"https://liquify.hall.community/members/8b700aad-8ac4-432d-9401-5c44abf19015","name":"Kevin","identifier":"8b700aad-8ac4-432d-9401-5c44abf19015","image":"https://cdn.discordapp.com/avatars/1006974650649170020/ef75e3f8749ca2d66d80839a141c01da.webp?size=256"}},{"@type":"Answer","text":"Thought you needed a solution how to show a success message on the same page ๐","upvoteCount":0,"dateCreated":"2025-02-11T19:01:29.494Z","datePublished":"2025-02-11T19:01:29.494Z","dateModified":"2025-02-11T19:01:29.494Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#22d90139-aba2-4192-8bdf-2ee5b6944b8f","author":{"@type":"Person","url":"https://liquify.hall.community/members/685f9152-96a7-4792-bb53-1ecef2a3d572","name":"marv","identifier":"685f9152-96a7-4792-bb53-1ecef2a3d572","image":"https://cdn.discordapp.com/avatars/946850237652275232/24c3b073f0970a764c857f27eea561ec.webp?size=256"}},{"@type":"Answer","text":"(Without redirecting itโs just a reload)","upvoteCount":0,"dateCreated":"2025-02-11T19:01:43.497Z","datePublished":"2025-02-11T19:01:43.497Z","dateModified":"2025-02-11T19:01:43.497Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#80811e3e-83e7-4125-b5e6-edee0de9c210","author":{"@type":"Person","url":"https://liquify.hall.community/members/685f9152-96a7-4792-bb53-1ecef2a3d572","name":"marv","identifier":"685f9152-96a7-4792-bb53-1ecef2a3d572","image":"https://cdn.discordapp.com/avatars/946850237652275232/24c3b073f0970a764c857f27eea561ec.webp?size=256"}},{"@type":"Answer","text":"Yes correct! I want to avoid redirecting after submitting the form and then show a succes message ๐","upvoteCount":0,"dateCreated":"2025-02-11T19:02:46.079Z","datePublished":"2025-02-11T19:02:46.079Z","dateModified":"2025-02-11T19:02:46.079Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#06ab18ce-1c21-41ee-9d69-763b57784199","author":{"@type":"Person","url":"https://liquify.hall.community/members/8b700aad-8ac4-432d-9401-5c44abf19015","name":"Kevin","identifier":"8b700aad-8ac4-432d-9401-5c44abf19015","image":"https://cdn.discordapp.com/avatars/1006974650649170020/ef75e3f8749ca2d66d80839a141c01da.webp?size=256"}},{"@type":"Answer","text":"Ah okay, was thinking that wouldnt work with a reload","upvoteCount":0,"dateCreated":"2025-02-11T19:03:44.060Z","datePublished":"2025-02-11T19:03:44.060Z","dateModified":"2025-02-11T19:03:44.060Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#16685029-7333-4bd4-809a-e526564f60ec","author":{"@type":"Person","url":"https://liquify.hall.community/members/8b700aad-8ac4-432d-9401-5c44abf19015","name":"Kevin","identifier":"8b700aad-8ac4-432d-9401-5c44abf19015","image":"https://cdn.discordapp.com/avatars/1006974650649170020/ef75e3f8749ca2d66d80839a141c01da.webp?size=256"}},{"@type":"Answer","text":"Hi Marv, only problem I still have is that the password login isnt working anymore. Is that a known problem with a newsletter form on the page?https://117fc9-51.myshopify.com/Click on login right corner, PW=fourtimesone","upvoteCount":0,"dateCreated":"2025-02-13T14:26:53.731Z","datePublished":"2025-02-13T14:26:53.731Z","dateModified":"2025-02-13T14:26:53.731Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#b57deef9-d116-45f2-9def-19acc69b41c8","author":{"@type":"Person","url":"https://liquify.hall.community/members/8b700aad-8ac4-432d-9401-5c44abf19015","name":"Kevin","identifier":"8b700aad-8ac4-432d-9401-5c44abf19015","image":"https://cdn.discordapp.com/avatars/1006974650649170020/ef75e3f8749ca2d66d80839a141c01da.webp?size=256"}},{"@type":"Answer","text":"@Kevin Hi, this is solved, right? You wrote it in the Variant Color message ๐","upvoteCount":0,"dateCreated":"2025-02-17T08:17:23.526Z","datePublished":"2025-02-17T08:17:23.526Z","dateModified":"2025-02-17T08:17:23.526Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#44fb1969-0011-4faf-bce7-b49a7fab6d8c","author":{"@type":"Person","url":"https://liquify.hall.community/members/685f9152-96a7-4792-bb53-1ecef2a3d572","name":"marv","identifier":"685f9152-96a7-4792-bb53-1ecef2a3d572","image":"https://cdn.discordapp.com/avatars/946850237652275232/24c3b073f0970a764c857f27eea561ec.webp?size=256"}},{"@type":"Answer","text":"Yeah I was able to solve it by changing the html in the password section because it had the -2 added, but when I do a new conversion it is added back","upvoteCount":0,"dateCreated":"2025-02-17T13:46:19.898Z","datePublished":"2025-02-17T13:46:19.898Z","dateModified":"2025-02-17T13:47:19.918Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#04e9880e-7562-4f73-9d5e-b5bf1e00af0e","author":{"@type":"Person","url":"https://liquify.hall.community/members/8b700aad-8ac4-432d-9401-5c44abf19015","name":"Kevin","identifier":"8b700aad-8ac4-432d-9401-5c44abf19015","image":"https://cdn.discordapp.com/avatars/1006974650649170020/ef75e3f8749ca2d66d80839a141c01da.webp?size=256"}},{"@type":"Answer","text":"@marv is it possible to exclude the coming soon page from being updated? So I can avoid the -2 being added each time?","upvoteCount":0,"dateCreated":"2025-02-17T16:31:44.826Z","datePublished":"2025-02-17T16:31:44.826Z","dateModified":"2025-02-17T16:31:44.826Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#87b227ae-4f72-4062-8603-2225917bcd66","author":{"@type":"Person","url":"https://liquify.hall.community/members/8b700aad-8ac4-432d-9401-5c44abf19015","name":"Kevin","identifier":"8b700aad-8ac4-432d-9401-5c44abf19015","image":"https://cdn.discordapp.com/avatars/1006974650649170020/ef75e3f8749ca2d66d80839a141c01da.webp?size=256"}},{"@type":"Answer","text":"Can you use a custom element in Webflow for the input? then webflow isnt adding that","upvoteCount":0,"dateCreated":"2025-02-17T16:32:44.068Z","datePublished":"2025-02-17T16:32:44.068Z","dateModified":"2025-02-17T16:32:44.068Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#03b6a284-dd14-4cde-a181-3af71d9f41ea","author":{"@type":"Person","url":"https://liquify.hall.community/members/685f9152-96a7-4792-bb53-1ecef2a3d572","name":"marv","identifier":"685f9152-96a7-4792-bb53-1ecef2a3d572","image":"https://cdn.discordapp.com/avatars/946850237652275232/24c3b073f0970a764c857f27eea561ec.webp?size=256"}},{"@type":"Answer","text":"So keep the form but remove the input field, replace with a custom element and give the tag of input?","upvoteCount":0,"dateCreated":"2025-02-17T16:33:51.846Z","datePublished":"2025-02-17T16:33:51.846Z","dateModified":"2025-02-17T16:33:51.846Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#ae144cb9-7933-45bd-85f1-124132e6b900","author":{"@type":"Person","url":"https://liquify.hall.community/members/8b700aad-8ac4-432d-9401-5c44abf19015","name":"Kevin","identifier":"8b700aad-8ac4-432d-9401-5c44abf19015","image":"https://cdn.discordapp.com/avatars/1006974650649170020/ef75e3f8749ca2d66d80839a141c01da.webp?size=256"}},{"@type":"Answer","text":"exactly ๐ and check the attributes the current input has and apply them to the custom element\\","upvoteCount":0,"dateCreated":"2025-02-17T16:34:21.811Z","datePublished":"2025-02-17T16:34:21.811Z","dateModified":"2025-02-17T16:34:21.811Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#4677d09c-4fc7-4c7b-b48d-c4bb655ba9f1","author":{"@type":"Person","url":"https://liquify.hall.community/members/685f9152-96a7-4792-bb53-1ecef2a3d572","name":"marv","identifier":"685f9152-96a7-4792-bb53-1ecef2a3d572","image":"https://cdn.discordapp.com/avatars/946850237652275232/24c3b073f0970a764c857f27eea561ec.webp?size=256"}},{"@type":"Answer","text":"Hmm, it seems Liquify adds the -2","upvoteCount":0,"dateCreated":"2025-02-17T16:44:50.073Z","datePublished":"2025-02-17T16:44:50.073Z","dateModified":"2025-02-17T16:44:50.073Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#a4a0d389-538e-4afd-b9a7-12167365caf1","author":{"@type":"Person","url":"https://liquify.hall.community/members/8b700aad-8ac4-432d-9401-5c44abf19015","name":"Kevin","identifier":"8b700aad-8ac4-432d-9401-5c44abf19015","image":"https://cdn.discordapp.com/avatars/1006974650649170020/ef75e3f8749ca2d66d80839a141c01da.webp?size=256"}},{"@type":"Answer","text":"can you send me the download file?","upvoteCount":0,"dateCreated":"2025-02-17T16:45:13.018Z","datePublished":"2025-02-17T16:45:13.018Z","dateModified":"2025-02-17T16:45:13.018Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#0d7859c6-21c2-4d88-bef9-692962d9a48b","author":{"@type":"Person","url":"https://liquify.hall.community/members/685f9152-96a7-4792-bb53-1ecef2a3d572","name":"marv","identifier":"685f9152-96a7-4792-bb53-1ecef2a3d572","image":"https://cdn.discordapp.com/avatars/946850237652275232/24c3b073f0970a764c857f27eea561ec.webp?size=256"}},{"@type":"Answer","text":"I do see this in Liquify zip:
","upvoteCount":0,"dateCreated":"2025-02-17T16:45:17.857Z","datePublished":"2025-02-17T16:45:17.857Z","dateModified":"2025-02-17T16:45:17.857Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#8df54fae-d63d-4c62-a804-b3b9b9c6b344","author":{"@type":"Person","url":"https://liquify.hall.community/members/8b700aad-8ac4-432d-9401-5c44abf19015","name":"Kevin","identifier":"8b700aad-8ac4-432d-9401-5c44abf19015","image":"https://cdn.discordapp.com/avatars/1006974650649170020/ef75e3f8749ca2d66d80839a141c01da.webp?size=256"}},{"@type":"Answer","text":"so the one from webflow","upvoteCount":0,"dateCreated":"2025-02-17T16:45:19.881Z","datePublished":"2025-02-17T16:45:19.881Z","dateModified":"2025-02-17T16:45:19.881Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#6bbc9422-70e2-4da8-901f-cf844c971c16","author":{"@type":"Person","url":"https://liquify.hall.community/members/685f9152-96a7-4792-bb53-1ecef2a3d572","name":"marv","identifier":"685f9152-96a7-4792-bb53-1ecef2a3d572","image":"https://cdn.discordapp.com/avatars/946850237652275232/24c3b073f0970a764c857f27eea561ec.webp?size=256"}},{"@type":"Answer","text":"And this in the Webflow zip: ","upvoteCount":0,"dateCreated":"2025-02-17T16:46:03.402Z","datePublished":"2025-02-17T16:46:03.402Z","dateModified":"2025-02-17T16:46:03.402Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#6634bcbd-02cf-4b16-9494-07fd0d8f86be","author":{"@type":"Person","url":"https://liquify.hall.community/members/8b700aad-8ac4-432d-9401-5c44abf19015","name":"Kevin","identifier":"8b700aad-8ac4-432d-9401-5c44abf19015","image":"https://cdn.discordapp.com/avatars/1006974650649170020/ef75e3f8749ca2d66d80839a141c01da.webp?size=256"}},{"@type":"Answer","text":"Yes will send that!","upvoteCount":0,"dateCreated":"2025-02-17T16:46:07.211Z","datePublished":"2025-02-17T16:46:07.211Z","dateModified":"2025-02-17T16:46:07.211Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#78e5a50d-0a22-4c7a-b61c-dc5c8126cf62","author":{"@type":"Person","url":"https://liquify.hall.community/members/8b700aad-8ac4-432d-9401-5c44abf19015","name":"Kevin","identifier":"8b700aad-8ac4-432d-9401-5c44abf19015","image":"https://cdn.discordapp.com/avatars/1006974650649170020/ef75e3f8749ca2d66d80839a141c01da.webp?size=256"}},{"@type":"Answer","text":"That would be this","upvoteCount":0,"dateCreated":"2025-02-17T16:46:18.216Z","datePublished":"2025-02-17T16:46:18.216Z","dateModified":"2025-02-17T16:46:18.216Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#cd5503c3-3ea7-4441-87a2-e92fe268bc6b","author":{"@type":"Person","url":"https://liquify.hall.community/members/8b700aad-8ac4-432d-9401-5c44abf19015","name":"Kevin","identifier":"8b700aad-8ac4-432d-9401-5c44abf19015","image":"https://cdn.discordapp.com/avatars/1006974650649170020/ef75e3f8749ca2d66d80839a141c01da.webp?size=256"}},{"@type":"Answer","text":"@jonas.halbstark any ideas?","upvoteCount":0,"dateCreated":"2025-02-17T16:46:19.635Z","datePublished":"2025-02-17T16:46:19.635Z","dateModified":"2025-02-17T16:46:19.635Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#ae36353b-009a-4fcf-ab7c-90d48f0b069f","author":{"@type":"Person","url":"https://liquify.hall.community/members/685f9152-96a7-4792-bb53-1ecef2a3d572","name":"marv","identifier":"685f9152-96a7-4792-bb53-1ecef2a3d572","image":"https://cdn.discordapp.com/avatars/946850237652275232/24c3b073f0970a764c857f27eea561ec.webp?size=256"}},{"@type":"Answer","text":"Maybe its interfering with another input field somewhere with password? I dont think I have added one though","upvoteCount":0,"dateCreated":"2025-02-17T16:46:51.334Z","datePublished":"2025-02-17T16:46:51.334Z","dateModified":"2025-02-17T16:46:51.334Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#7fc564ea-8d19-4de0-bb36-a831eb646517","author":{"@type":"Person","url":"https://liquify.hall.community/members/8b700aad-8ac4-432d-9401-5c44abf19015","name":"Kevin","identifier":"8b700aad-8ac4-432d-9401-5c44abf19015","image":"https://cdn.discordapp.com/avatars/1006974650649170020/ef75e3f8749ca2d66d80839a141c01da.webp?size=256"}},{"@type":"Answer","text":"It looks like you have the password section also on the thank you page. There is still the -2","upvoteCount":0,"dateCreated":"2025-02-17T16:48:46.904Z","datePublished":"2025-02-17T16:48:46.904Z","dateModified":"2025-02-17T16:48:46.904Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#3be5d6ef-903a-4572-8e8f-6aaf84498e3f","author":{"@type":"Person","url":"https://liquify.hall.community/members/9198b265-c813-4ed7-89ba-4025d177dc62","name":"jonas.halbstark","identifier":"9198b265-c813-4ed7-89ba-4025d177dc62","image":"https://cdn.discordapp.com/avatars/947621552478904320/9741d807d28f33e26a3a3b01c121c60f.webp?size=256"}},{"@type":"Answer","text":"Oh right, good catch ๐ฎ Thanks!!","upvoteCount":0,"dateCreated":"2025-02-17T17:01:40.993Z","datePublished":"2025-02-17T17:01:40.993Z","dateModified":"2025-02-17T17:01:40.993Z","url":"https://liquify.hall.community/succes-message-for-newsletter-form-JxGWFhT0xnNZ#4a8a9078-0e09-4a77-b1de-d03c0979a164","author":{"@type":"Person","url":"https://liquify.hall.community/members/8b700aad-8ac4-432d-9401-5c44abf19015","name":"Kevin","identifier":"8b700aad-8ac4-432d-9401-5c44abf19015","image":"https://cdn.discordapp.com/avatars/1006974650649170020/ef75e3f8749ca2d66d80839a141c01da.webp?size=256"}}]}}