
May 3rd, 2011, 01:46 PM
|
 |
Contributing User
|
|
Join Date: Jun 2003
Posts: 418
  
Time spent in forums: 2 Days 13 h 53 m 25 sec
Reputation Power: 11
|
|
|
VB Script: Text Object Value
I'm not sure if this is possible but this is what I'm trying to accomplish.
I have a dynamic number of HTML text boxes that I generate, and i is the iteration number.
vb Code:
Original
- vb Code |
|
|
|
<input type=""text"" name=""IntfNm"&i & """ size=""20"">
next I'm trying to extract the value of the text field and write it to a file. This is where I'm having an issue.
vb Code:
Original
- vb Code |
|
|
|
intfNmVar ="IntfNm"&i objTextFile.Write(intfNmVar.Value)
It doesn't like the last line. I'm extracting the value of the text field instead of the HTML text object.
Any suggestions?
|