Autofill a web page

Peter Haworth pete at lcsql.com
Thu Jul 9 19:15:38 CEST 2015


Thanks Devin.  I was meaning I wanted to do this in a Livecode app so
sounds like there is hope.  I will check out the links you sent.

Another complication is that the form includes a Captcha code so that will
have to be supplied manually.  Off topic, but am I the only one that finds
the majority of these Captcha codes pretty much unreadable, especially on
tablets/phones?  I guess there are different types of code, I'm referring
to the ones that are blurry photos of house numbers/street names.

On Thu, Jul 9, 2015 at 10:10 AM Devin Asay <devin_asay at byu.edu> wrote:

>
> On Jul 9, 2015, at 11:01 AM, Peter Haworth <pete at 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.
>
> Devin
>
>
> Devin Asay
> Office of Digital Humanities
> Brigham Young University
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


More information about the use-livecode mailing list