Addition of row based on Subform View type

Addition of row based on Subform View type

Hi there,
  1. Straight to the point, if I use Subform View type List, I want the row is actually added when I click on the Done button, instead of added as soon as I click on the Add row button.
My use case, I have:
1. A subform in the List view, has a field named: Selected Participants (the value of this field will be filled by deluge by picking from multiple fields Department, Section, Title)
2. A field in the main form named: Total Participants (roll-up value from all rows in that subform, using deluge)
  1.       total_qty = 0;
  2.       for each  line in c_Participants_Selection_sf
  3.       {
  4. total_qty = total_qty + line.sf_Selected_Participants_nu;  
  5.       }
  6.       input.c_Total_Participants_nu = total_qty;
The issue is, as soon as I click on the Add row button, the workflow will run, despite neither Department, Section nor Title being picked.

Or if you guys have another idea?
Much appreciated.

P/S: If I use the above code in the On User input of Selected Participants - because this field is filled by Deluge, somehow it does not work as usual.