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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Controlling rows and columns

Avatar

Level 3

I've been working with tables all day and I'm finding out all kinds of stuff.  I was just wondering is there a way to add columns from a drop down that is placed somewhere else within the form.  So for example, on page two there's a drop down list with numbers and the user selects 5 and then when the user reaches the table there is 5 columns set up in the table.  I have a dynamic table setup and I have the button already to add rows I just need a way to control the columns now.  This should be my last question for a while, I think , thanks for any help you can give.

2 Replies

Avatar

Level 10

Columns can be added by scripting.

Check out this post on Stefan Camerons blog.

http://forms.stefcameron.com/2006/10/28/scripting-table-columns/

Avatar

Level 3

Thanks for this!  I'm still working with it, can't seem to get it to work though, getting close but not close enough...doh!