enter/submit data on different form types - WeOnlyDo Discussion board

enter/submit data on different form types (General questions)

by jeff blah, Thursday, November 22, 2007, 05:12 (6211 days ago)

how do i make it enter/submit data on different for types for example like if i have a form with 3 fields on it one of the fields being named: comments how would i set the value of that field and also submit after finished setting value?

Re: enter/submit data on different form types

by woddrazen, Thursday, November 22, 2007, 08:21 (6211 days ago) @ jeff blah

Hi Jaff,


You should use wodHttpDLX FormPost Add Method to post data to server.

Here is one simple example:
[code]
Set http1 = New wodHttpDLXCom

http1.Blocking = True
http1.Get http://www.weonlydo.com/HttpDLX/Demo/TestFormPost.htm

http1.Request.FormPost.Add Username , joe
http1.Request.FormPost.Add Password , joe

http1.Post http://www.weonlydo.com/HttpDLX/Demo/TestFormPost.asp
Debug.Print http1.Response
[/code]

More help for Add Method you can find here:
http://www.weonlydo.com/HttpDLX/Help/wodHttpDLXLib~HttpRequestFormPost~Add.html

Maybe IEWatch would help you to detriment what should be send to server to receive proper response. IEWatch is http and https analyzing tool.

Let us know how it goes.


Regards,
Drazen