alcor / itty-bitty

Itty.bitty is a tool to create links that contain small sites
http://itty.bitty.site
MIT License
3.39k stars 250 forks source link

itty bitty with forms, url parameters and js #49

Open hairorh opened 6 years ago

hairorh commented 6 years ago

Hi, just wondering if I can use an itty bitty link with url parameters that will populate a form in the itty bitty and send the submit to a webhook... This could be a super light and simple way to record and use user interaction by just providing a link!

alcor commented 5 years ago

You cannot use url parameters for this (since it has to be in the fragment), but you CAN have default values within an html form that you put here. So just dynamically create HTML with custom values and encode the whole mess. :) (see the command line generation options for how to do that with a script). Theoretically you could build a form generator in an itty bitty site as well. :P