Jump to content
Sign in to follow this  
autoitxp

Web Form Submit Monitor

Recommended Posts

autoitxp

Hi i want to monitor web form submit whenever user submit form it should store info in text file.

how to get all form variables and there input data from ie browser.

REGARDS

SIM

Share this post


Link to post
Share on other sites
Nahuel

:I don't undersand... you want to run a script that saves the infotmation that is submited in forms? :P

Share this post


Link to post
Share on other sites
autoitxp

yup whenever user submit form it save all form information in text file.

Regards

Sim

Share this post


Link to post
Share on other sites
DaleHohm

That sounds pretty nefarious. I'd like to hear an explanation of why you're trying to do this.

Dale


Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Share this post


Link to post
Share on other sites
autoitxp

well its for web form monitoring on my server and other client machines ? it save all user info in \\server\formcollection.txt

Share this post


Link to post
Share on other sites
DaleHohm

Why do you do web form monitoring on your server and other client machines?


Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Share this post


Link to post
Share on other sites
autoitxp

coz we need to know how much medical user data submited on daily bases when user submit data it save records in database and now we need to monitor daily submit form to know how much records received. and it also like mistake checker if data received some wrong user info then we can check later to fix by help of text file

Regards

Sim

Share this post


Link to post
Share on other sites
DaleHohm

OK, I, I still don't understand why you need to do this, but I trust you are not trying to scam credit card numbers. This simply affects how much help I am willing to give.

What you're wanting to do is not simple, especially as an initial foray into controlling Internet Explorer.

You need to trap the onsubmit event for the form, harvest the data from the form elements, and then allow the submit to complete. You can trap events using the objevent function. There is a problem using it for occasions like this however, because of the way that AutoIt processes events. Instead of handling events synchronously, it is simply notified that an event has occurred and is given a chance to do something with it. Unfortunately, by the time it has a chance to do this, the page has already changed and the form elements are no longer available.

It is still possible, however, it will probably take a combination of script event handling and Javascript in the browser to make it work. You'll need to be quite intent on making this work because it will take quite a lot of trial and error and overcoming obstacles -- however, it would be possible.

If you really want to try it, I suggest you read about ObjEvent and _IEHeadInsertEventScript and take a shot at putting together some code. Then come back with questions.

Dale

Edited by DaleHohm

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Share this post


Link to post
Share on other sites
autoitxp

ya thanks for help about credit card stealing lol im nt willing to do this coz im official person so no criminal shit this just coz for my application

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×