Jump to content

Use Filemaker to fill web forms


This topic is 5220 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I am trying to fill web form fields in my IE browser, using the fields from filemaker. Is there a way to populate this data into the ACTUAL fields IN the browser. Once I review them on the screen I will manually post each page and apply a script to populate the subsequent page accordingly. Any ideas....

Link to comment
Share on other sites

I have done this before by using the 'cURL' command line tool...

Sounds like you are on Windows as you are using IE...

On Mac, I would just execute an AppleScript using the 'Perform AppleScript' script step. This AppleScript would perform the terminal command line that executes the cURL command to submit form data based on data provided to it by a calculated field in FileMaker....

Maybe worth looking up some info on cURL, and also how you might be able to execute that on the Windows platform...

There are also FileMaker plugins that would do this such as NetTools ( http://www.acmetech.com/products/nettools/nettools.html )

Hope this helps

Link to comment
Share on other sites

I have done this before by using the 'cURL' command line tool...

I haven't tried doing this myself, so I could be totally wrong here... Couldn't you basically accomplish the same thing by setting the URL of a Web Viewer object on the FM layout? Something like Set Web Viewer [Action: Go to url...] and specify the same URL you would use in the cURL command? Eg. http://some.site.com/process.php?name=john&title=CEO

Of course, the URL can be a calculated expression.

Link to comment
Share on other sites

Sorry, I replied without really thinking about the original poster's specific requirements... To pre-populate a form IN the browser, I can think of a way to do it, but it relies on a few assumptions and knowing a few things about the form/page you are trying to fill out.

Firstly, instead of a Web Viewer, you can just use the Open URL script step to open the URL in your default web browser.

Now, depending on the form you are trying to populate, you might be able to pre-populate it through the URL. For example, by taking a quick look at the source code of google.com I was able to figure out how to pre-populate the search field. For example: http://www.google.com/webhp?q=prefilled

Link to comment
Share on other sites

I think this method only works when the form uses the "GET" method.

Using iMacros for Firefox is pretty cool, since you get to see all the automatic form filling. Also, it's free.

Link to comment
Share on other sites

This topic is 5220 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.