Persist dynamic macro checkbox after saving

I’m trying to create a dynamic macro and I’m able to pass & pick up parameters to show on the template in preview mode.

However, if there are some checkboxes in the template and the user checks them, how do I get them to persist the state of the check mark even after the save, so that during view or edit mode, the checkbox reflects what the user has done last? So far the checkbox just remains unchecked after save no matter what.