Hi,
I am trying to submit a web form using VBA. The problem is there is no name to this form. There is a login button, but again it has no name, so I am not able to access it.
I am able to access the inputs : username and password using getElementsByName.
HTML source code of the page.
Thanks,
MG.
I am trying to submit a web form using VBA. The problem is there is no name to this form. There is a login button, but again it has no name, so I am not able to access it.
I am able to access the inputs : username and password using getElementsByName.
HTML source code of the page.
HTML:
<form action="pilatthn.cgi" method="post" target=_top>
<table width="450" border="0" cellspacing="0" cellpadding="2" summary="Login">
<tr>
<td width="129"> Username:</td>
<td><input name="user" type="text"><font size=2> </font></td>
</tr>
<tr>
<td>Password:</td>
<td><input name="pass" type="password"><font size=2> </font></td>
</tr>
<tr>
<td colspan="2"><p>
<input type="submit" value="Login">
</td>
</tr>
</table>
<input type="hidden" name="url" value="http://www.google.com">
</form>
Thanks,
MG.