Expand my Community achievements bar.

SOLVED

How can I add and remove a hidden raw of a table while checking and unchecking the checkbox??

Avatar

Level 2

I want to add a 1*1 table, or saw just a cell with text field, when I check the checkbox and remove the same when I uncheck the checkbox. I have tried almost everything, but not showing the correct result. Can anyone please guide??

1 Accepted Solution

Avatar

Correct answer by
Level 2

Hello shahnisarg28,

I think you can achieve what you want by simply utilizing the Action Builder provided by the program.

You make the cell visible when the Checkbox is checked by:

1. You right click the checkbox, select Actions - Add Action.

2. You set

     Condition: When Checkbox is checked

     Result: (Show or Hide an Objet) = Sel the visibility of cell to visible

You make the cell hidden or invisible when the Checkbox is unchecked by:

1. You right click the checkbox, select Actions - Add Action.

2. You set

     Condition: When Checkbox is unchecked

     Result: (Show or Hide an Objet) = Set the visibility of cell to hidden.

Tell me if that works out for you.

Regards,

David.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 2

Hello shahnisarg28,

I think you can achieve what you want by simply utilizing the Action Builder provided by the program.

You make the cell visible when the Checkbox is checked by:

1. You right click the checkbox, select Actions - Add Action.

2. You set

     Condition: When Checkbox is checked

     Result: (Show or Hide an Objet) = Sel the visibility of cell to visible

You make the cell hidden or invisible when the Checkbox is unchecked by:

1. You right click the checkbox, select Actions - Add Action.

2. You set

     Condition: When Checkbox is unchecked

     Result: (Show or Hide an Objet) = Set the visibility of cell to hidden.

Tell me if that works out for you.

Regards,

David.

Avatar

Level 2

Hello davidm84370181,

Thank you very much for you reply. It really helped.

But, I have encountered an another situation.

I have 10 raws of data, having 2 checboxes in every raw, named "satisfactory" and "unsatisfactory". Its a kind of survey.

First thing I wanted to do is that, only one checkbox out of 2 can be checked, if one checks "satisfactory" automatically "unsatisfactory" should be unchecked and vice-versa. Which I did and working good.

Another thing is that, if any "unsatisfactory" checkbox has been checked, a table at the bottom should appear.

I coded both the things and works fine individually, but if I check "unsatisfactory" once, the table at bottom appears, and when I check "satisfactory" in the same raw, the "unsatisfactory" should be unchecked and the table at bottom should be hidden, which is not working in my case. I have tried a lot, but couldnt find any solution.

Any help on this is highly appreciated.

Thanks.

Nisarg Shah