Use loops to iterate over the dynamic widget names and output values.