Link to home
Start Free TrialLog in
Avatar of JeePeeTee
JeePeeTee

asked on

Get HTML form/insert data/Post result form

Hi,

How can my program grab an HTML page with data-entry fields
+ fill in one or more fields in this form
+ post the result back.

Can i make use of the TWebBrowser component from the Internet tab or the Indy components.
ASKER CERTIFIED SOLUTION
Avatar of gfody
gfody
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JeePeeTee
JeePeeTee

ASKER

Hello gfody,

Thanks for your reply.

Had to change d.formname.submit into d.formname.inputname.click and the form was posted OK.

Regards,

JeePee
Hello gfody,

How can I retrieve the formname from web.Document after this document has been loaded into TWebBrowser?

...and also for the form objects?

Regards
yea you can loop thru all the document objects.. see a dhtml/dom reference on msdn. You'll basically be doing dhtml with delphi so the syntax is about the same