Button click not working

I try to get a button to work when I click it, on another page than the main page

I can get it to work on the main page but not the other page.

What I’ve tried and what’s not working:

  def button_1_click(self, **event_args):
    """This method is called when the button is clicked"""
    print('hallao')

Clone link:
https://anvil.works/build#clone:Y6LZQK2ZT6GNFPJ5=BMSP4KNSYEOECBOJIYCAOA5X

I got it solved, when I load in the old IDE and started. it came up with a box. with a text like “what will you call the app” then I just choice the default name. and it is working now

1 Like