A post was merged into an existing topic: how to update table variables depending on the data entry/input and submit buttom