On Jul 9, 2015, at 11:09 AM, Devin Asay <devin_a...@byu.edu> wrote: > > On Jul 9, 2015, at 11:01 AM, Peter Haworth <p...@lcsql.com> wrote: > >> I am currently filling out a form several times a day to report aircraft >> noise incidents. The form requires me to complete a number of fields that >> end up with the same value every time with others that are specific to each >> instance of the form. >> >> >> Would it be possible for me to write a Livecode app that would prefill >> certain fields with default values from preferences so all I have to do is >> fill the other fields manually? > > Probably not, if you’re talking about sending the fill-in values to the web > browser page from another app. (I’m no expert in that; others may have ideas.) > > But what you may be able to do is recreate the web form in a LiveCode stack > and use the stack to submit the form contents to the web service. It would > involve examining the code for the web page and finding the <form> tag. I > describe the process here for GET method forms: > > http://livecode.byu.edu/internet/getMethodSteps.php > > And here for PUT method forms: > > http://livecode.byu.edu/internet/postMethodSteps.php > > If the forms are basic html, and it sounds like they might be given the lack > of sophistication (i.e., no pre-fill or remembering past inputs), it may be > relatively simple.
I should have added, once the form is recreated in your stack you have complete control over auto-filling fields; I’m sure you can work that part out on your own. D Devin Asay Office of Digital Humanities Brigham Young University _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode