Try this example to see how Zingtree merge variables work.
How it works:
This form gets your name and favorite color, and then opens a tree that replaces the text #NAME# and #COLOR# with your name and favorite color.
Take a look at the URL on the next screen to see how the variable names and values are passed.