Hi Naim > Your modified code works on a locally hosted wiki, but how could you make it > work with at usual places static sites are hosted? KWES.io formspree.io and > such sites filter out spam and process the form since the host can't. > Ok >>now<< <https://kookma.github.io/TW-Scripts/#Html5%20Forms%20Elements> I > understand tiddlers can straight up take html code. But still, I don't know > how to reference this externally hosted script. The code comes off kwes's > website, I can confirm it works on other SSGs like hexo and nextjs, just > couldn't figure out how on TiddlyWiki. I tried > <screenshot-kwes-inline.png> > and > <screenshot-kwes-nontaggedScript.png> > and > <screenshot-kwes-wscript.png>
TiddlyWiki isn’t really involved in the form submission, it’s handled by the browser. I suspect that the form hosting services that you’re using might indeed need some extra steps to combat spam. Are you running the wiki over HTTP or a file URI? Best wishes Jeremy. > > > Any help appreciated, thanks. > Sent with ProtonMail <https://protonmail.com/> Secure Email. > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > On Wednesday, April 28, 2021 1:44 PM, Jeremy Ruston <[email protected]> > wrote: > >> Hi Naim >> >> I adapted your example slightly and tried it in a tiddler on a local wiki. >> It worked for me in that the form was correctly sent to the server. >> >> <form action="127.0.0.1" method="post" target="_blank"> >> <label for="email">Your Email</label> >> <input name="Email" id="email" type="email"> >> <button type="submit">Submit</button> >> </form> >> >> I’d suggest trying to get the form working correctly within a standalone >> HTML file, and then once that’s working bring it into TiddlyWiki >> >> Best wishes >> >> Jeremy >> >> >>> On 28 Apr 2021, at 03:27, 'naim.abou.darwish' via TiddlyWiki >>> <[email protected] <mailto:[email protected]>> wrote: >>> >>> Hi, >>> Thanks for the awesome work put into TiddlyWiki. A non-linear personal web >>> notebook, fits my messy approach to work. >>> I'm trying to collect some info on different dialects. I found a couple of >>> web form services that would work for me, but I can't figure out where to >>> embed the code. >>> from formspree something like >>> <form action="https://formspree.io/f/{form_id >>> <https://formspree.io/f/%7Bform_id>}" method="post"> >>> <label for="email">Your Email</label> >>> <input name="Email" id="email" type="email"> >>> <button type="submit">Submit</button> >>> </form> >>> From kwes.io <http://kwes.io/> something like >>> >>> <form class="kwes-form" >>> action="https://kwes.io/api/foreign/forms/m6W5ZqUEo9xIbpfpYq36 >>> <https://kwes.io/api/foreign/forms/m6W5ZqUEo9xIbpfpYq36>"> >>> <label for="name">Your Name</label> >>> <input type="text" name="name" rules="required|max:255"> >>> >>> <button type="submit">Submit</button> >>> </form> >>> I found this https://kookma.github.io/TW-Scripts/#Html5%20Forms%20Elements >>> <https://kookma.github.io/TW-Scripts/#Html5%20Forms%20Elements> but >>> couldn't figure out where it goes. >>> Any help appreciated, thanks >>> >>> Sent with ProtonMail <https://protonmail.com/> Secure Email. >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "TiddlyWiki" group. >>> To unsubscribe from this group and stop receiving emails from it, send an >>> email to [email protected] >>> <mailto:[email protected]>. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/tiddlywiki/0IvKbeSbV7XiVU3B0vWP9GXnKPTwD5AoUeu5ceKwucjeWYz7q6LKww-trWNNwPUKSkXUOH445hYwj1xS9SE3pQaTqeMhe2TmsgD0QedeOSc%3D%40protonmail.com >>> >>> <https://groups.google.com/d/msgid/tiddlywiki/0IvKbeSbV7XiVU3B0vWP9GXnKPTwD5AoUeu5ceKwucjeWYz7q6LKww-trWNNwPUKSkXUOH445hYwj1xS9SE3pQaTqeMhe2TmsgD0QedeOSc%3D%40protonmail.com?utm_medium=email&utm_source=footer>. >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "TiddlyWiki" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] >> <mailto:[email protected]>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/tiddlywiki/D37DD1CF-57F8-45D2-BFAC-A4CCF277F739%40gmail.com >> >> <https://groups.google.com/d/msgid/tiddlywiki/D37DD1CF-57F8-45D2-BFAC-A4CCF277F739%40gmail.com?utm_medium=email&utm_source=footer>. > > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/axM2VxuATaHmKAQf2HYF6nUgugIhC6NrS5GwYocNz9TqafZKtqezaR7Q9RSR6yxco13MWpC298HzzvyaOpR7PQ98g1oCRL6fV0RV-RPZzj0%3D%40protonmail.com > > <https://groups.google.com/d/msgid/tiddlywiki/axM2VxuATaHmKAQf2HYF6nUgugIhC6NrS5GwYocNz9TqafZKtqezaR7Q9RSR6yxco13MWpC298HzzvyaOpR7PQ98g1oCRL6fV0RV-RPZzj0%3D%40protonmail.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3ACAB4B3-70BC-4F2B-9685-89A5D5BD85A1%40gmail.com.

