Passing form data

I have a html form on my server that i want to pass to another server that is not mine and pre-populate the fields. I have tried hidden values and putting the input names the same. The remote server's php doesnt accept that and clears the field. Is there a way using either javascript or DHTML or some language to populate the field on the remote server?
EnslaverAsked:
Who is Participating?
 
dorwardConnect With a Mentor Commented:
No.

If the server won't populate the form when you submit the data, then nothing you can submit to it will work.

JavaScript won't allow you to influence one page from a different domain (with normal security).

You might be able to submit to the script that the server's form submits too instead of the form page, depends on the way it is set up.
0
 
cj_nepentheCommented:
I agree with dorward, there's no way you can do this.
IE prevents cross-domain scripting for security reasons.
0
 
L00MCommented:
I would recommend parsing the form data into XML and passing that on to a web service on the remote server. Assuming you have that much access.
0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

 
L00MCommented:
Do you have access to the source on the remote server?
0
 
EnslaverAuthor Commented:
No access there, i was thinking maybe i could write a program that the user downloads that will fill in the forms in IE. That seems like too much work for such a simple task. Its not possible to have it in 2 frames and have my javascript in the top frame tell the form in the bottom frame the values? it doesnt have to submit the form.
0
 
L00MCommented:
Nope, as mentioned, IE prevents that for security reasons. Unless you can get access to the remote server, I'd say you're SOL.

Sorry,
Neil Brewer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.