Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Text Field Problem with Form Tables

Avatar

Avatar
Level 1
JamieGrimes
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
JamieGrimes
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
JamieGrimes
Level 1

10-12-2015

Greetings,

I'm having the worst time getting a table to work, and I know this really shouldn't be that hard. I've built a table (tabgrading) in LiveCycle, and I need it to be dynamic enough to allow for adding rows and columns. The row functionality works well (repeating Row1). To get column adds to work I set up header cell (Cell4) and a text field (TextField8) under subforms (sfgradingheadadd & sfgradingrowadd, respectfully). The add/remove rows and add/remove columns buttons were scripted using the Action Builder and they work fine.

The problem comes when I try to add a new row to a table with an added column, or vice versa. The added column is an uneditable area, as though the text field did not carry over. I've tried adding the following script, but with no luck:

var intCount = xfa.resolveNode("tabgrading.Row1").instanceManager.count;

xfa.resolveNode("tabgrading.Row1").instanceManager.addInstance(1);

xfa.resolveNode("tabgrading.Row1[" + intCount.toString() + "].TextField8").rawValue = xfa.resolveNode("tabgrading.Row1[" + (intCount - 1).toString() + "].TextField8").rawValue ;

I'm at a loss. Any guidance you could provide would be greatly appreciated.

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile
_Bruce_Robertson
MVP

10-12-2015

Hi,

Not something I've tried but I did see this post a while back, Tables with Variable Numbers of Columns

Might help?

Regards

Bruce