How to save text boxes?

I’m currently trying to access form1’s edited text boxes (when running the app) from form2.

The problem is that when I run the app, write something in a text box and then go to the other form aka form2, then form1’s recently edited text boxes have default values. How can I make the form1 to not default values of my text boxes when I open the form2?

Welcome to the forum!

You’ll need to show the code you’re using to access form1’s text boxes for anyone to be able to offer specific advice.

There are loads of answers to this on the forum.

The most basic explanation might be: How do I reference variables passed with an open_form(Form, argument) on the newly opened form

It sounds like you are creating an instance of class Form1 as your app’s main form, then opening an instance of class Form2 as your app’s main form. There can be only one main form at a time, so your instance of Form1 will be destroyed at that time.

One way around that is to keep a separate reference to that instance, somewhere else, i.e., in a variable that lives long enough to be useful, and that can be reached from within your instance of Form2. To keep that reference valid, Python will not destroy the referred-to object, i.e., your instance of Form1.