Overwrite the same line

You can have a form pull already existing data and display that data, and because of this if that data is equal to a field you are entering data into you can create a visibility criteria that if they are equal the submit button doesnt show, or something along those lines.