Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automation
Message
From
09/08/2002 10:15:54
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Miscellaneous
Thread ID:
00687875
Message ID:
00687965
Views:
26
Hi,

The code works and it inserts the user id and password into the web page but I can't get it to submit the page.

>>
Also why did changing the oIE.DOCUMENT.FORMS(0) to oIE.DOCUMENT.FORMS(1) make it work?
<<

The page you navigated has 2 forms:
Forms(0).Name = "formheader"
Forms(1).Name = "login"
so Forms(1) is the one you're after. Forms(1) OnSubmit function calls a javascript Validation() function - I didn't delve deeply into this but my guess is that the validation is failing for some reason thereby preventing the submit.

HTH,
Viv
Previous
Reply
Map
View

Click here to load this message in the networking platform