Hi Alessandro,
1. Add an Action Button
Place a button near the progress bar labeled “Donate” or with an icon.
Set the button action as Call a Microflow -> Open popup page.
2. Create a Popup Page
Add a data view of the same entity used for patient/category donation (example: Patient)
Inside it, place a text box or number input to enter donation amount
Add Confirm and Cancel buttons
3. Update Donation Amount In the microflow:
Take the input donation amount
Add it to the existing donated value:
Patient.DonatedAmount = Patient.DonatedAmount + EnteredAmount
Commit the object
Return to the main page
4. Refresh Progress Bar
Enable Refresh in client in the commit activity
The progress bar will update instantly to reflect the new amount
Configure Progress Bar
Set Minimum value = 0
Set Maximum value = Patient.RequiredAmount
Set Progress value = Patient.DonatedAmount
As donations increase, the bar automatically fills to show current progress