passing values to certain site.


I've created some textfields and textbox and let some values to be keyed in.
Is there anyway to save the values and then pass to them another site which has also some textfields and textbox, and let it process?

Who is Participating?
rlovetxConnect With a Mentor Commented:
The easiest solution would be to pass your form values directly to the processing page of the other website.

Do a "View Source" on the target website and look at their <form> tag.  Get it's method and action and emulate them.

For example:

If the action went to a page, such as and the method=post, then make your form:

<form action="" method="post">

If you're only completing part of their form (i.e. your form has 2 fields and theirs has 4 fields), then I think you're stuck unless they work with you.

I think that JavaScript will only allow children pages to update parent pages.  This means that their webpage would have to open a window to your page in order for your page to populate their form.
assuming there is a script on the oter site abel to process the form , you just make that the action of the form:

<form action="hhtp://">
<input type=text" name=fields1">
additional inputs etc...

I don't know what you mean by saving them.  Saving them where?

It depends on how the other site is programmed. If you have editing rights to the other site, it makes it easier.

What i mean is..

If you can pass a variable to the form and it automatically displays it, then you can do it.

Again, you will need to answer Cd&'s question as to what you mean by save.

:) SD
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

TPolyAuthor Commented:
however, i do not have direct editing rights to the other site...
what i mean is my app (a Java program) have some values to pass to a telco website (which provides free internet sms)..
once the values from my app pass to the website, it will automatic send the sms...
how about using MSXMLHTTP here take a look at this:
Tony CapewellCommented:
This has helped me alot, been putting together a web site for my wedding this year, need to pass the gift list number and password through to the John Lewis web site. This worked a dream. Thanks.
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.