The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

I tried document.getElementById(x), it works to some extent. I mean I could write the value of a text field into another but can not pass it via the form, who needs the enc-type for file uploading, to server environment.

No, I never tried document.forms[number], could you please show me an example. Thanks for your help.

Sorry, I should correct a fault. If what you mean is document.form1["description"].value for example, Yes that's for sure I have used it alot before, but I think it won't be a help to me as what I want is to send the value of a variable in form1 to form2.

Form2 is being submitted not form1. Form2 has the encode-type as I already mentioned.