How to insert the "remeber" checkbox into the form?

When entering data from a data form, you need to re-apply the data in one field. How do I use a “remember checkbox” to keep the data as the initial value when the form is opened?
I think it is right to build the argument as follows.
If the “remeber checkbox” is “true” then in this table, in the last row, set the value of the field to be remembered as the “initial value”.
ifs (checkbox = true, select (table name, maximum row number, remeber field)

I understood the argument but could not build the expression. Also remember that the format of the field is “Enum”. Can you help?