Sure, it’s a robot that search data in a system for a specific purpose.
Sometimes, some data is missing. So the robot creates a task so that a human adds this data.
The issue is, that the data is structured differently depending on 1 choice.
So I have a drop-down with choice A and B.
After A or B is selected, an ‘Edit Grid’ appears. (through simple Javascript logic)
If A is selected, only 1 row must be given.
If B is selected, at least 2 rows must be given.
So the idea was to have the ‘Edit Grid’ with 5-6 fields inside and appearing by default with 1 empty line to fill.
If A is selected → the ‘Add button’ is hidden
If B is selected → the ‘Add button’ appears
But I haven’t found how to make the ‘conditional add button’ work