Using URL field to create clever links to maps

Using URL field to create clever links to maps

First of all - thanks for a dandy little service!

I'm trying to use the URL widget to dynamically look at another field (a text field called ADDRESS) upon successfully editing the record, I'd like the script to look at the address and create a properly formed URL to Google Maps.

I believe I understand how to transform an address into the required strings for the URL (ie, substitute '+' for <SPACE> etc.). My problem is how to dynamically assign a URL to the URL field, and dynamically assign the address itself to the link field (ie, the text between the <A href= "URL goes here"> "address goes here" </A>

I don't see where I can access those fields using Script Builder. All that's available to me is input.URL

Does this make sense? Am I missing something obvious?