Two forms with one submit button

I’ve been racking my brains on this one but I’m not really in the right frame of mid to work on it. I have an inkling that it can be done, but I’m coding c++ at the moment and brain is fried.

OK, what I want to be able to do…

I have a form for changing a username, but rather than the more traditional method of confirm password then change - I want to do it on one page.

So I have a text input box for new username and then the other form that send the values from another set of ‘stuff’. Now what I want is for the single submit button to send the data to both at the same time, sending the username change request AND the current password.

Now I’m pretty sure it can be done with a bit of script and a few clever ID tags on the fields. Anyone care to help :help:

DT.

Come on DT Global Var’s…