Escain Posted July 15, 2020 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 Posted March 6, 2021 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... BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> No-code customisations for Squarespace
Recommended Posts
Archived
This topic is now archived and is closed to further replies.