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

SOLVED

AEM 6.1 forms - Table component

Avatar

Level 3

I have a use case where based on the value from radio button component, my table component should dynamically add new columns by itslef.

example: Radio button A with option 1 selected --> Table structure (table with 5 rows and 3 columns) remains intact.

Radio button A with option 2 selected --> Dynamically to add additional two columns at the right (to the existing 5 rows and 3 columns).

 

Can this be achieved? If so how? Kindly advise.

As part of AEM forms 6.1, does JSdoc [1] page remains same without updates?

[1] https://helpx.adobe.com/aem-forms/6/javascript-api/GuideBridge.html

1 Accepted Solution

Avatar

Correct answer by
Employee

So if I understand correctly , you have a row and based on some input value from user , you want to hide some cells from the row.

Let me know if this suffices your need - https://helpx.adobe.com/aem-forms/6-1/adaptive-forms-tables.html 

View solution in original post

0 Replies

Avatar

Correct answer by
Employee

So if I understand correctly , you have a row and based on some input value from user , you want to hide some cells from the row.

Let me know if this suffices your need - https://helpx.adobe.com/aem-forms/6-1/adaptive-forms-tables.html 

Avatar

Level 3

Thanks Mandeep. Yes user input on radio button (say he has chosen option 2 from radio button), should dynamically add two columns to existing table in AF. Please be advised the table in edit mode is configured for say 5 rows and 3 columns. Upon selection of option 2 from radio button, the table should be 5 rows and 5 columns. How can be achieved by access expression.