Pawel_G Posted March 12, 2023 Share Posted March 12, 2023 Hi @creedon! Thank you for creating this functionality. However, when trying to create my own radio button redirect, it just makes the form disappear instead of redirecting me to a page. I am on paid plan and I followed the install instructions. Any ideas what could be happening? Would great appreciate your help! Link to comment
tuanphan Posted March 16, 2023 Share Posted March 16, 2023 On 3/12/2023 at 8:08 PM, Pawel_G said: H Thank you for creating this functionality. However, when trying to create my own radio button redirect, it just makes the form disappear instead of redirecting me to a page. I am on paid plan and I followed the install instructions. Any ideas what could be happening? Would great appreciate your help! Can you share link to page where you use form? creedon 1 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
Pawel_G Posted March 16, 2023 Share Posted March 16, 2023 Ah yes, apologies!https://www.justynapawel2023.com/rsvp Link to comment
creedon Posted March 17, 2023 Share Posted March 17, 2023 On 3/12/2023 at 6:08 AM, Pawel_G said: However, when trying to create my own radio button redirect, it just makes the form disappear instead of redirecting me to a page. You've entered an id attribute value... const radioFormFieldLabel = 'radio-yui_3_17_2_1_1564585324088_26896-field'; The code asks for the label for the field... const radioFormFieldLabel = '[enter radio form field label here between single quotes]'; You want to enter the following... const radioFormFieldLabel = 'Will you be attending?'; Let us know how it goes. Pawel_G and tuanphan 2 Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Pawel_G Posted March 19, 2023 Share Posted March 19, 2023 Worked like a charm! Thank you @creedon! Not sure why I fixated on the id attribute... creedon 1 Link to comment
creedon Posted March 19, 2023 Share Posted March 19, 2023 9 hours ago, Pawel_G said: Not sure why I fixated on the id attribute... Custom code often uses ids and perhaps an earlier version of my code may have used one. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Pawel_G Posted May 5, 2023 Share Posted May 5, 2023 Hi @creedon! I need your help again please. The custom redirect stopped working, but I hadn't touched the code responsible for it at all. Not sure whether it was me doing some other changes on the website or perhaps Squarespace updated some things. Would you be able to have a look please? https://www.justynapawel2023.com/rsvp Link to comment
creedon Posted May 5, 2023 Share Posted May 5, 2023 5 hours ago, Pawel_G said: The custom redirect stopped working, but I hadn't touched the code responsible for it at all. It's not you or me ( 🙂 )! Quote perhaps Squarespace updated some things. That is exactly what has happened. Unfortunately the new form makes doing redirects so much harder and I know of no code that can currently help with redirects. I'm investigating how this might be done with the new forms but it is slow going and I can't say that I can come up with a solution at this time. I'll contact you via DM for a potential short term work around. tuanphan and Pawel_G 2 Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. 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