how to handle different template based formparams in gatling

hi ,
I’m facing issue like depending on the template ,attributes value are getting changed while saving any records.suppose template1 is having 2 attributes and template template 2 is having 3 attributes.
while saving records using any of above template each request form-param will be different.How to handle this scenario?
Eq:

while saving any records using template1

.formParam("country.1489":"1234")

while saving any records using templat2