Populating form fields On A Web Page

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
warrenk
Posts: 110
Joined: Sun Sep 21, 2008 5:39 am

Populating form fields On A Web Page

Post by warrenk » Wed Apr 22, 2009 9:02 pm

I opened up a internet page using revBrowserOpen. Is it possible to load fields on the internet page from fields on my card? I don't need to POST the form....want to fill out some of the fields.

Thanks,
Warren

Mark Smith
Posts: 179
Joined: Sat Apr 08, 2006 11:08 pm
Contact:

Post by Mark Smith » Sat Apr 25, 2009 2:05 pm

One way to achieve this (and it's not always possible) is to load the page into a variable:

put url "http://...." into tPage

parse the html in tPage to find the input fields, set their values and then set the revBrowser to show the amended html.

Best,

Mark Smith

warrenk
Posts: 110
Joined: Sun Sep 21, 2008 5:39 am

Post by warrenk » Sat Apr 25, 2009 3:36 pm

Mark,

Thanks for the response! I will give this a try and see if it works out.

Apppreciate your help!
Warren

Post Reply