How to auto fill field on external page?

There is an external web page I want to link to from Freeway with a text link. When the “here” link is clicked on my site, the external web page will load and an email address will be pasted into a targeted field.

The link target page is MailBigFile™ | Send large files up to 2GB FREE
The target field is “1. Send File To:”
Viewing source code reveals that this section is in a frame. Viewing frame source it looks like the field can be identified.

Can this be accomplished in Freeway? Seems like would be a good idea for an Action too.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You could only do this with the cooperation of the other site.
JavaScript is prohibited from crossing domain boundaries[1], so you’d
need the receiving site to have a server-side mechanism for accepting
either a form post from your server, or a get (querystring) extension
to their URL and using it to populate that field.

Do you have control or a relationship with this other site such that
you could ask this of them?

Walter

  1. To read more, Google “Same Origin Policy”. In a nut, if I write
    some JavaScript and put it on www.example.com, that script can’t even
    influence www2.example.com, let alone www.example.org or
    www.apple.com. Even on the same server, I couldn’t go from normal HTTP
    (www.example.com:80) to HTTPS (www.example.com:543) without an error
    and utter failure.

On Mar 4, 2011, at 8:32 AM, cosjr wrote:

There is an external web page I want to link to from Freeway with a
text link. When the “here” link is clicked on my site, the external
web page will load and an email address will be pasted into a
targeted field.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Walter. The reason I thought this was possible is because of studying to do the same from Filemaker Pro through a javascript. Hmmm.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

As Walter says you can’t autofill this using JavaScript as you don’t have access to that domain. What you can do, however, is make a copy of their form (or simply download it) and add your own address as the default recipient. Like this;
http://www.freewayactions.com/test/mail-big-file/

The standard recipient field is now a hidden input with the address hard coded into the form so users can only send to this one recipient. I’ve tested it and it appears to work perfectly although I’m less than certain that it falls within the scope of their fair use agreement. You may want to shoot them an email to ask if they are OK with you doing this. Maybe leave a ‘Powered by Your Big File’ credit and link in your page?

Their business account appears to offer much of what you can do yourself with the example I’ve outlined above albeit for £25 a month;

Regards,
Tim.

On 4 Mar 2011, at 13:32, cosjr wrote:

There is an external web page I want to link to from Freeway with a text link. When the “here” link is clicked on my site, the external web page will load and an email address will be pasted into a targeted field.

The link target page is MailBigFile™ | Send large files up to 2GB FREE
The target field is “1. Send File To:”
Viewing source code reveals that this section is in a frame. Viewing frame source it looks like the field can be identified.

Can this be accomplished in Freeway? Seems like would be a good idea for an Action too.

FreewayActions.com - Freeware and commercial actions for Freeway Express & Pro.

Protect your mailto links from being harvested by spambots with Anti Spam.
Only available at FreewayActions.com

http://www.freewayactions.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Filemaker could do this through an AppleScript, but never through a JavaScript. Same rules apply. AppleScript could request the form, then act like you to the extent of focusing the input field and pasting in text. AppleScript can do nearly anything you can do with the keyboard and mouse, but do it so quickly that you don’t notice the steps.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options