How to add multiple pages within an app?

Hi Sergio,

The simplest thing to do is to create a new form for each page you want to display. Then, when you want to move to a different form, call open_form(), which replaces the whole page with a new form.

You can pass it the name of the form to open (eg open_form("Form2")), or you can import that form’s module and class, create an instance and then call open_form() on that, eg:

from Form2 import Form2

f = Form2()
open_form(f)

Does that help?


PS: The app you’ve linked to is a private app. If you want us to be able to see it, you either need to make it public (find this setting in the Share dialog), or copy and paste the long private link (also in the Share dialog).