@koolForms thanks, I really wanted something like this. Thanks again. Well, I can reset using the reset function. However, can we pass a subform inside the remerge function too? Actually, after reset I also need to remerge the subform. I am trying to use the xfa.form.remerge("subform_address"); but...