How to access the fields of a Web Page

Shallo9

Registered User.
Local time
Yesterday, 18:48
Joined
Nov 11, 2011
Messages
95
Hi,

I've got a webbrowser on my form which displays an online form with a submit button.

Is there a way to capture the details of the fields values as soon as the user clicks the submit button.

Any help would be appreciated.

Many Thanks
 
It might be easier to make your own form for data entry, then open the appropriate page, enter the data with code, and click submit. There is a link i'll try to find for you.

edit- This might help you.
 
Are you the owner or developer of the site? If you are you should be able to process that from the front end, it into a dump file and get access to read from that file.

If you're not then what's the purpose of this?
 
Are you the owner or developer of the site? If you are you should be able to process that from the front end, it into a dump file and get access to read from that file.

If you're not then what's the purpose of this?


I am Developing a database which uses an Online form developed in Java to get the quote.

However the Info on this thread has answered so many questions.

Thank you ever so much once again.
 
Shallo9:

If you see such posts please try not quote it. They are mostly from spammers and it's harder to get rid of them if a genuine member quotes one (or more) of their posts.
 
Hello Again,

I am struck again with this web browser...I am unable to capture the button click event on this web page...the source code looks like

<div class="submitBtn clear right">

<input type="submit" id="policy-details_Save and Calculate" name="method:calculate" value="Save and Calculate" class="yellowButtonLongest2"/>
</div>

Let me make it clear...

I dont want to click the submit button rather want to save the data entered into the fields to a recordset (further to a table) when this form is submitted successfully.

I am unable to figureout how to check if the submit (Save & Calculate) button is clicked?

I've tried with the Webbrowser1.DocumentComplete but by then the page has moved to submitted and my recordset got no data to save...

NB: I am not the owner of the website but still belongs to my organisation (Diff Department)

Any help will highly appreciated.

Many Thanks
 
The following code in the above scenario clicks the button

Code:
ie.Document.all("method:calculate").Click

Hope this might help one of you to see how can i capture the state of the button...
I mean to check if the button is clicked or not...
 

Users who are viewing this thread

Back
Top Bottom