filled templates with values from form