attachURL form http POST

I create the layout 2U, full screen, called main.php
left layout for tree navigation, right layout for the transaction.
I attached the url using attachURL(myform.php); it displays correctly.

the question is, how to redirect the url to the right layout after processing the form?
what is the form target ?
anyone have the sample?

Thanks you