I have noticed the following:

I have a repeated that is defined something as follows:

CSpRepeated myRepeated
  CSpTextBox myTextBox1
  CSpCheckBox myCheckBox 
  CSpTextBox myTextBox2

The spider tags appear in this order in the HTML.

When I attempt to get the values of the repeated on a web event, I can get the values 
of the first text box by:
CSpVector myValues = (CSpTextBox)getDisplayField("*myTextBox1").getValue()

It works great.

Then, I can get the values of the radio by getting the web variables corresponding to 
the variable names:
For example:
  CSpValue myValue = (CSpValue)CSpider.getWebVar("myCheckBox[1]");

That works great also.

HOWEVER...
When I try to get the values in myTextBox2, I cannot get them the same way I got the 
first text box values.  It presents the values in variables named "TextBox", 
"TextBox[1]", "TextBox[2]", etc.

I have noticed that this happens CONSISTENTLY in a repeated whenever text boxes (or
         hiddens, or static vars) appear after  radios or checkboxes in my HTML.  When 
I view
         the HTML source, the names of "TextBox2" are all "TextBox2", i.e. they do not 
appear
         as "TextBox", "TextBox[1], or "TextBox[2].

Am I doing something wrong, or is this an undocumented feature of NetDynamics 4?

Appreciate any feedback --
- Darby O'Connor

_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to