I'm trying to fill out the username and password form on the website: https://secure.myhfs.illinois.gov/lo...oamingEPF.html
the user name and password html is :
When I try to set the username and password after the website has finished loading through my IE object I get Object variable or With block variable not set. How can I set the username and password of these input fields?
Yet when I try to set the value of either the "password" field or the "username" field
the user name and password html is :
Code:
<td><input type="text" name="username" size="30">
<!-- Load the username of the last user into the input field -->
<script>
if (apiAccess.entrustTruePassClientAPI.entrustTruePassGetLastUserProfileType()=="ROAMING_EPF") {
document.entrustform.username.value = apiAccess.entrustTruePassClientAPI.entrustTruePassGetLastUser();
}
</script>
</td>
</tr>
<tr>
<td><b>Password:</b></td>
<!-- AUTOCOMPLETE = "off" will turn off the password autocomplete option-->
<td><input type="password" name="password" AUTOCOMPLETE="off" value="" size="30"></td>
When I try to set the username and password after the website has finished loading through my IE object I get Object variable or With block variable not set. How can I set the username and password of these input fields?
Code:
IE.document.getelementbyid("password").value = idpa2_pw
IE.document.getelementbyid("username").value = idpa2_user