Toddyt3
(Abhishek Pillai)
1
Scenario:-
-
In the UI, you add one table with some column.
-
Maximum 5 rows of data will be allowed to add. After entering the 5th row. Add item button will be disabled automatically.
-
If we delete some row, then Add item button will be enabled.
Could somebody help me with this requirement!?
uashok93
(Ashok Kumaresan)
2
@Abp69 ,Use LengthOfPagelist(.PagelistName) > 5 in the disable condition on the add button .
Toddyt3
(Abhishek Pillai)
3
@uashok93 , Thanks for the reply.
Ahh if we give this condition, by default the button gets disabled in the table and it wont display anything while running the case.
VTALUKDAR
(Victor Talukdar)
4
@Abp69 If your condition is correctly given , this should not happen. Can you please provide a screenshot of the configured condition ?
@Abp69
create a when rule in the disable condition
in when rule select length of pagelist function compare with value
add another event refresh this section on add and delete links. It works.
Toddyt3
(Abhishek Pillai)
6
@SatishS84 Thanks for the reply. Its working!!
Toddyt3
(Abhishek Pillai)
7
@VTALUKDAR Thanks for the reply. It’s Working!