Fill a field on a web page in TWebBroswer Delphi 7

browser, delphi, twebbrowser

Solution

Suppose you have an input field with name 'name' and type 'text', you can call

WebBrowser1.OleObject.Document.GetElementByID('name').setAttribute('value', 'somename');

Problem

I'm making a small program to place orders on our supplier's web site. I need to fill 3 fields in the page. Don't even need to "submit" it. Is there any simple way or any component that could do that (preferably free) Thank you!

Original source