AEM 6.1 forms - Table component

Avatar

Avatar

vkeerthy

Avatar

vkeerthy

vkeerthy

15-10-2015

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

mandeepg6805152

Employee

Avatar

mandeepg6805152

Employee

mandeepg6805152
Employee

15-10-2015

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 

Answers (1)

Answers (1)

Avatar

Avatar

vkeerthy

Avatar

vkeerthy

vkeerthy

15-10-2015

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.