Assign value from previous variable

Thanks for the screenshots @emad ! I will try to reproduce this on play.dhis2.org in the Capture app so we can triage this to the @dhis2-tracker team.