You're over thinking it. All the submit button on form B does is transfer to the handler specified in the form's action property via the forms method property. If you want form a to submit to form b's handler (which is what would happen if you clicked B's submit button) then just specify the same action property for form a and form b.