Escain Posted July 15, 2020 Share Posted July 15, 2020 Hello :-) For our web-page we want to have a "complex" form with several custom features: The form is on several tabs: I plan have HTML/CSS tabs and to hide/show them with JS (display=block or similar) until the user reach the end. Some elements are filled automatically: filling some elements trigger events (on-change), with the consequence of calculating intermediate results and filling other inputs.. This was just to explain the context. The conclusion of those requirements is that the default "form-block" is not sufficient and that I would need to use a custom form in a "code-block". Now, I would like the form result to submit to an e-mail or google-drive, exactly like form-block. My question is: How to do this? How to submit the custom form result to an e-mail? (or google drive) The obvious and ugly solution is to use a "normal" form-block, hide it with JS and use it internal sending for the purpose, but I wonder if I can use any direct API or some other better solution? Beyondspace 1 Link to comment
Beyondspace Posted March 6, 2021 Share Posted March 6, 2021 On 7/15/2020 at 6:12 PM, Escain said: Hello 🙂 For our web-page we want to have a "complex" form with several custom features: The form is on several tabs: I plan have HTML/CSS tabs and to hide/show them with JS (display=block or similar) until the user reach the end. Some elements are filled automatically: filling some elements trigger events (on-change), with the consequence of calculating intermediate results and filling other inputs.. This was just to explain the context. The conclusion of those requirements is that the default "form-block" is not sufficient and that I would need to use a custom form in a "code-block". Now, I would like the form result to submit to an e-mail or google-drive, exactly like form-block. My question is: How to do this? How to submit the custom form result to an e-mail? (or google drive) The obvious and ugly solution is to use a "normal" form-block, hide it with JS and use it internal sending for the purpose, but I wonder if I can use any direct API or some other better solution? Squarespace api is still a mystery to most of us, so i think your approach is good enough... Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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