Copy form values from one website to another

Last post 10-06-2008 7:07 PM by VivekDev. 9 replies.

Sort Posts:

  • Copy form values from one website to another

    07-15-2007, 7:59 AM
    • Member
      12 point Member
    • s_9bits
    • Member since 07-14-2007, 9:16 AM
    • Posts 29
    I have to develop a module in which a form filling and submitting on one website would result in the submitted data migration from this website to another website, so that, searching takes place there on another website. Assume, these two forms on different websites are same. What should i use? ASP.NET or Javascript? or some other language? I can't use a form on another website which would take as input my migrated data. So, what's the alternative? and how to do this?
    Filed under:
  • Re: Copy form values from one website to another

    07-15-2007, 9:52 AM
    Answer
    • All-Star
      17,453 point All-Star
    • albertpascual
    • Member since 05-23-2003, 2:11 PM
    • Riverside, CA
    • Posts 3,474

    I would use parameters to do that so if you got a text box called txtbox1 you can do

    Response.Redirect("http://www.domain.com/anotherform.aspx?txtbox1=" + txtbox1.Text);

    Then on anotherform.aspx on page_Load()

    txtbox1.Text = Request.Params["txtbox1"];

    Hope this helps

    Cheers
    Al
    My Blog
    MapStats.NET
    Please click on 'Mark as Answer' if this post answered your question!
  • Re: Copy form values from one website to another

    07-15-2007, 1:44 PM
    • Member
      12 point Member
    • s_9bits
    • Member since 07-14-2007, 9:16 AM
    • Posts 29
    ya nice advice. But, if i don't have access to another domain. So, can't create a form on another domain. If you've seen robofill software then, can't i do something like that??? i mean automatic form filling using some data... I've this idea but i don't know how to do this.. So, please help.
  • Re: Copy form values from one website to another

    07-15-2007, 2:00 PM
    Answer
    • All-Star
      17,453 point All-Star
    • albertpascual
    • Member since 05-23-2003, 2:11 PM
    • Riverside, CA
    • Posts 3,474

    Then you'll have to do a post with the names of the textboxes and hopefully the page has the way to retrieve to populate them. Otherwise cannot be done.

    Cheers
    Al
    My Blog
    MapStats.NET
    Please click on 'Mark as Answer' if this post answered your question!
  • Re: Copy form values from one website to another

    07-15-2007, 2:52 PM
    Answer

    copy <FORM></FORM> HTML code from website on another doamin and build a asp.net page on your website and copy that <FORM> into it.

    set the <FORM action="complete url of another site target page">.

    this should work unless the target page on another website does not accept form data from external web pages. 

    Gursharn Singh


    http://the-guy-wearing-turban.blogspot.com/


    [Don't forget to click on Mark As Answer on the post that helped you ]
  • Re: Copy form values from one website to another

    07-16-2007, 1:12 AM
    • Member
      12 point Member
    • s_9bits
    • Member since 07-14-2007, 9:16 AM
    • Posts 29
    great.. i'll try this..
  • Re: Copy form values from one website to another

    07-16-2007, 9:48 PM
    Answer

    Hi,

    Based on my understanding, another way you can try to send data from one website to another is using HttpWebRequest.  Micorosoft .Net framework has a very rich library and It has a very handy HttpWebRequest class that can be used to send HTTP requests to any server.

    For tutorial, please refer to this article http://www.netomatix.com/HttpPostData.aspx

    Hope it helps,

    Jessica 

     

    This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Jessica Cao
    Sincerely,
    Microsoft Online Community Support


    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
  • Re: Copy form values from one website to another

    09-20-2007, 2:48 PM
    • Member
      2 point Member
    • quirtep
    • Member since 09-20-2007, 6:46 PM
    • Posts 1

     What did you end up using for this?  I have a similar requirement - a real-estate agency that would like to maintain local database but not have to re-type information into MLS database which does not offer import options except web forms...

  • Re: Copy form values from one website to another

    09-20-2007, 3:03 PM
    • Member
      2 point Member
    • rincker
    • Member since 09-20-2007, 6:55 PM
    • Posts 1
    I am trying to pull data from another page as well. I have a textbox that the user would enter a number. This number can be typed into another page that isn't mine as find all the information that that item has. That website brings up a page with a table. Would it be possible to capture text from that page and auto fill out the rest of my form? This would make creating an item significantly easier for my users. I think this is a bit different question then the original post. I am not trying to get the values from another form but another page.
  • Re: Copy form values from one website to another

    10-06-2008, 7:07 PM
    • Member
      2 point Member
    • VivekDev
    • Member since 10-06-2008, 6:57 PM
    • Posts 1

    gursharnsingh@msn.com:

    copy <FORM></FORM> HTML code from website on another doamin and build a asp.net page on your website and copy that <FORM> into it.

    set the <FORM action="complete url of another site target page">.

    this should work unless the target page on another website does not accept form data from external web pages. 

     

     I have a requirement to post data from a HTML site to a asp.net site. Basically require this for preventing direct access to the asp.net site using URL. Users should only be able to click on the URL fom the HTML site and then be directed to the asp.net site. I was planning to use the posted data to identify that user has indeed come from the html site and not directly.

    Can you (Gursharn Singh ) explain your solution in detail and whether it can be used in this case.

     

Page 1 of 1 (10 items)