deluge script on subform fields

deluge script on subform fields

Maybe it's just me, but I'm not really liking the new format for workflows.  I find it cumbersome to have to create a new workflow for just about everything when before we could put several different types of workflow into one.  In any case, with the new format, I can't seem to figure this one out...

I have a basic subform (i.e. no separate form created, but added as a "blank subform") where users can list the number of children they have and put the birthday of each child.  Beside the field for date of birth, I have a number field that I want to automatically update with the age of the child (to be calculated using the date from the DOB field).  How do I set it up so that when a user inputs the DOB on each row, that the corresponding age field for that row is updated?  

After this is figured out, I will be adding a schedule to run weekly where each subform row is checked and updated so that we always have the current age of children in any given family.

Thanks!