automatic web form fill - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

automatic web form fill

polina-galkinpolina-galkin Posts: 3Member
for example registration forms with fields of a name, e-mail, phone number ,country, etc. All this stuff should be brought from a file and filled into a form on the webpage. And yes, how to press the "Submit" button without actually clicking on it. So the user does nothing here. Any hint is welcome as usual :)) thanks ahead

Comments

  • zibadianzibadian Posts: 6,349Member
    : for example registration forms with fields of a name, e-mail, phone number ,country, etc. All this stuff should be brought from a file and filled into a form on the webpage. And yes, how to press the "Submit" button without actually clicking on it. So the user does nothing here. Any hint is welcome as usual :)) thanks ahead
    :
    Submitting data from code is quite simple. Here's an example of it: http://www.w3schools.com/htmldom/met_form_submit.asp

    Reading data from a file, is quite difficult and can only be done using ActiveX. Javascript by itself cannot read from any file.
  • polina-galkinpolina-galkin Posts: 3Member
    : : for example registration forms with fields of a name, e-mail, phone number ,country, etc. All this stuff should be brought from a file and filled into a form on the webpage. And yes, how to press the "Submit" button without actually clicking on it. So the user does nothing here. Any hint is welcome as usual :)) thanks ahead
    : :
    : Submitting data from code is quite simple. Here's an example of it: http://www.w3schools.com/htmldom/met_form_submit.asp
    :
    : Reading data from a file, is quite difficult and can only be done using ActiveX. Javascript by itself cannot read from any file.
    :
    thank you for quick reply. Your link was very helpful. But still the problem is that I need to submit the form without user sitting there and clicking on the submit button. Like a robot that does it itself. There should be some way, but I can't come up with it for several days already :((
  • zibadianzibadian Posts: 6,349Member
    : : : for example registration forms with fields of a name, e-mail, phone number ,country, etc. All this stuff should be brought from a file and filled into a form on the webpage. And yes, how to press the "Submit" button without actually clicking on it. So the user does nothing here. Any hint is welcome as usual :)) thanks ahead
    : : :
    : : Submitting data from code is quite simple. Here's an example of it: http://www.w3schools.com/htmldom/met_form_submit.asp
    : :
    : : Reading data from a file, is quite difficult and can only be done using ActiveX. Javascript by itself cannot read from any file.
    : :
    : thank you for quick reply. Your link was very helpful. But still the problem is that I need to submit the form without user sitting there and clicking on the submit button. Like a robot that does it itself. There should be some way, but I can't come up with it for several days already :((
    :
    That code shows you how to do it. If you call that function in the onload() event, then the page gets submitted the second it completed loading. Then the only thing the user needs to do is to click the link to start the page download.
Sign In or Register to comment.