alex none

alex none

  • NA
  • 19
  • 6.7k

WebBrowser auto fill

Apr 1 2012 2:20 PM
Hello,

<input id="email" name="email" type="text" value="Email address">
<input id="email" name="email" type="text" value="Email address">

I'm trying to auto fill a email text field area on a website, the problem is there is more than one same email name, so it fills the first email field and not the second field.

they both are in different <form>data</form>  areas.

when I try to auto fill by doing webBrowser1.Document.GetElementById("email").SetAttribute("value", "[email protected]"); it fills out the first field, but I want the second field to be field and not the first field.

thanks in advance.


Answers (6)