
on_release: app.next() #event reference to function
The problem is that the next() method is not defined in app, it is defined in forgot_passwords. Change the on_release line:
on_release: root.next() #event reference to function
in kv, root refers to the enclosing class. Or the root widget of the kv rule. See: https://kivy.org/doc/stable/api-kivy.lang.html?highlight=lang#value-expressions-on-property-expressions-ids-and-reserved-keywords
From: Gabriel de Jesus
Sent: Thursday, December 8, 2022 5:10 PM
To: kivy-...@googlegroups.com
Subject: [kivy-users] help with AttributeError: object has no attribute
Good evening. I am having trouble understanding an error in the project I am working on. I am creating a function to change pages in a registration form, so I create the "next" function and refer to the "on_release" event in my KV code. However, when I run the application, the terminal gives me the error "AttributeError: object has no attribute". Can someone help me? Below is the code. Thank you in advance and I will be grateful for any help.
return at the terminal:

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/CALSY6AT9SAeU8CxJVT_2e340ydPAO_uTXfeO4ox1zSS9y1daUw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/63927fab.9d0a0220.46fc3.81ddSMTPIN_ADDED_MISSING%40gmr-mx.google.com.