John1MD Posted December 15, 2023 Posted December 15, 2023 Pardon me, I am a complete noob, but I have had fair success "learning just enough" to get each challenge done in the site I am building. Is it possible to have a drop down box on a page determine what form structure the user is presented with? As an example, you would have a drop down box that allows the user to select between "impact statement", "letter to your MLA", "letter to your service provider". For each of these choices, a different form could be presented below that allowed you to have different fields that were specific to the letter the user was about to write.
KwameAndCo Posted December 15, 2023 Posted December 15, 2023 Not a dropdown but SQSPThemes has a plugin called AccoTabs that allows you to change sections with the click of a button (tabs). I believe SQSMods also has sometihng similar too via their "Magic Drop" plugin which might be more what you want? You'd just need 3 separate sections with different forms and it'd handle this. Alternatively, I did a custom plugin for a client here that works more as a switcher. Haven't packaged it for sale yet but it's another approach. But Magic Drop is probably the best choice for a dropdown. John1MD 1 Work With Me 🖥️💻📱 Please remember to tag me so that I get a notification and respond to your help requests. If my answers have helped you, please drop a like and mark my answer as best to help other users find solutions quickly. You can also thank me or make requests by buying me a coffee ☕. (Caffeine fuels me to take more requests) For Squarespace Tips & Tricks, visit @squareskills (Youtube 📺 Tutorials) For Premium and FREE plugins, visit Squareskills (Plugin Store) 🧩 For Custom Plugins email me 🧩
John1MD Posted December 15, 2023 Author Posted December 15, 2023 16 hours ago, KwameAndCo said: Not a dropdown but SQSPThemes has a plugin called AccoTabs that allows you to change sections with the click of a button (tabs). I believe SQSMods also has sometihng similar too via their "Magic Drop" plugin which might be more what you want? You'd just need 3 separate sections with different forms and it'd handle this. Alternatively, I did a custom plugin for a client here that works more as a switcher. Haven't packaged it for sale yet but it's another approach. But Magic Drop is probably the best choice for a dropdown. Thank you. Magic Drop does seem to be essentially the right solution. I am going to engage the makers of that and determine if its within reach of my skill level KwameAndCo 1
KwameAndCo Posted December 16, 2023 Posted December 16, 2023 5 hours ago, John1MD said: Thank you. Magic Drop does seem to be essentially the right solution. I am going to engage the makers of that and determine if its within reach of my skill level It's pretty easy to use. Upload the code. Copy and paste some lines and then just place some text in a specific way - if I remember. John1MD 1 Work With Me 🖥️💻📱 Please remember to tag me so that I get a notification and respond to your help requests. If my answers have helped you, please drop a like and mark my answer as best to help other users find solutions quickly. You can also thank me or make requests by buying me a coffee ☕. (Caffeine fuels me to take more requests) For Squarespace Tips & Tricks, visit @squareskills (Youtube 📺 Tutorials) For Premium and FREE plugins, visit Squareskills (Plugin Store) 🧩 For Custom Plugins email me 🧩
John1MD Posted December 16, 2023 Author Posted December 16, 2023 I have it installed on our site now, and it works pretty well. My next challenge will be to see if there is a way to auto-populate a field in the revealed forms based on the user's selection of radio buttons and drop-down box. More specifically: Imagine a petition-style webpage, with 4 different types of letters, 1-to your provincial/state politician 2-to your mayor/reeve, 3-to your doctor, 4-an impact statement about your interaction with healthcare. Magic Drop has now allowed us to choose a form that is specific to each type of letter. Nonetheless, each form type will have a "body of letter" field. The next step will be to create a 'set of radio buttons', each form having its own unique set, and these radio buttons would auto-populate the 'body of letter' field with a selection of pre-written letters that people can use as their starting point.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment