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

Question about dynamic tables with ES4

Avatar

Avatar
Validate 1
Level 1
patpai
Level 1

Likes

0 likes

Total Posts

73 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
patpai
Level 1

Likes

0 likes

Total Posts

73 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
patpai
Level 1

14-01-2016

Good afternoon everyone,

I have a form that asks a few questions and based on the answers, i get a corresponding car/make to it.

At the end of my form i would like to show the results (via a table).

So what i was thinking is that behind every question that is answered, i have a piece of code that would add the corresponding car and make (in one line, ex: nissan tittan) and this would occur throughout the form about a dozen times.

Each time adding a dynamic line to my table so as to make this look like a summary (if you will) of the cars selected by user.

So far, questions are done table is set, i can't quite figure out the way to add the dynamic line to the table so that it builds a summary. Right now, it adds the rows but i want to add text in that row as well. (this table is only 1 column (label or text field, which ever is easiest to work with) and the rows are dynamic.

summary.Summary.Row2.instanceManager.addInstance(true);

summary.Summary.Row2.Cell1[*].rawValue="test";

I don't know how to add the "text" part to every new line added. This doesn't quite work yet

Anyone have an idea on how to write the code so that i add 1 row and some text in it, dynamically and this every time a question gets filed?

Thank you very much again for your help

Patrick

Accepted Solutions (0)

Answers (0)