Need help understanding how this works

Love the site, but new to the scripting portion.
Could use some help getting started please?
Do I have to use setDOMElement?

Trying to go to a site (navigate) then set the value of form inputs (setValue) and then submit it (clickAndWait).
Then I actually want the test results to be for the next page that was posted to.

logData 0

navigate http://www.mysite.com

setValue name=textbox1 Jane
setValue name=textbox2 Doe

clickAndWait innerText=Send

Thanks,

Justin

close, you just need to turn data capture back on before the step you want to measure:

logData 0
navigate http://www.mysite.com
logData 1

setValue name=textbox1 Jane
setValue name=textbox2 Doe

clickAndWait innerText=Send