How do I get the correct number of nodes for an object? (LiveCycle Designer)
LiveCycle Designer: I've got a form section with nine text fields, four visible. Using a loop based on number of nodes, I allow the five hidden fields to be made visible one at a time, or hidden again, one at a time, so the user can get the desired number of fields, from the minimum four up to the maximum nine. It works perfectly.
I copied the objects to a new form, changed their names, and edited the code to make sure the proper new object names were used. I deleted some text fields, so there are six maximum. I also changed things so that only one of the fields is initially visible; five are hidden. I changed the code accordingly.
For some reason, fieldName.nodes.length now reports three nodes instead of six, regardless of whether I delete or add more fields to the design. This breaks my 'add field/remove field' buttons. Any idea what's going on?
SL DC