Auto form submit in revBrowser

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
aparng
Posts: 2
Joined: Wed Aug 29, 2007 3:27 am

Auto form submit in revBrowser

Post by aparng » Wed Aug 29, 2007 10:39 am

Is it possible to copy the content from a Revoluion field and post it to a form field displayed in a revBrowser window? Also, is it possbile to write a script to "click" a button in a form displayed in a revBrowser window?

Andy

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9852
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Post by FourthWorld » Wed Aug 29, 2007 5:54 pm

I don't know the ins and outs of RevBrowser, but if what you need to do is submit a form you can do that right in Rev without the need for a browser UI at all.

Check out the post command in the Rev dictionary. You can grab the contents of Rev fields, package 'em up in the format a form CGI expects, and just post the form data directly to the CGI via libURL without needing to go through the web page.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply

Return to “Internet”