semi-OT: can Rev pre-populate data on a web form?

Trevor DeVore lists at mangomultimedia.com
Thu Sep 4 14:36:39 EDT 2008


On Sep 4, 2008, at 1:58 PM, Chris Sheffield wrote:

> So my main question is, can Rev send data to a web form like this in  
> such a way that whatever fields we specify will be populated when  
> the browser/form opens? Not sure if something like this is even  
> possible. I haven't done enough web development to know. Is some  
> special JavaScript required to accomplish this?

A simple approach would be to append a query string to the URL you  
open. For example, let's say you want to tell the web form script the  
default first name to use. You could do something like this:

launch url "http://www.mydomain.com/path/to/script.php?first_name=FIRST_NAME

It is then up to the web page (script.php in this case) to look for  
values in the GET query string and then populate the fields with  
default values.

Regards,

-- 
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com    -    www.screensteps.com



More information about the use-livecode mailing list