This example creates a get string for the form action param.
Check out the source code.