Hello,
1st Requirement:
I have a Gallery named as galInspection. I'm looking for a solution, where when we click on a specific button the gallery should filter accordingly and show their count
For Instance - I have 4 buttons on my screen and 1 field called as Status column.
1. Button 1
2. Button 2
3. Button 3
4. Button 4
For example: I have total 24 records in my Gallery (which will show all this 24 records when none of the buttons are clicked or we have cleared the Gallery)
Show the count on below 6 fields:
1. start_date has 3 blank records
2 and 3. end_date & due_date has 5 blank records
4. birth_date has 7 blank records
5 and 6. order_date & billed_date has 9 blank records
Now when we click on Button 1, in this button the value should show as 3 and gallery should filter accordingly with 3 records (only blanks to be filtered...were we do not have start_dates)
Similarly when we click on Button 2, in this button the value should show as 5 and gallery should filter accordingly with 5 records (only blanks to be filtered...were we do not have end_date & due_date) and so on for field 4, 5 and 6.
2nd Requirement when dates are added change the status :
When start_date (DataCardValue15) is added, the status should change to R1
When end_date & due_date (DataCardValue19 and 18) is added, the status should change to R2
When birth_date (DataCardValue8) is added, the status should change to R3
When order_date & billed_date (DataCardValue21 and 22) is added, the status should change to R4
Please advise.