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?

while saving any records using template1


while saving any records using templat2