There's a few good examples in the documentation on how to both read and modify values from a custom URL. Please read the chapter titled "Manipulating field values from a Custom URL Resource". (login required)

It seems to boil down to using getFields and container Javascript objects.

Nuno Linhares
  • 28.7k
  • 3
  • 39
  • 89