mercredi 1 avril 2020

Kivymd textinuput

I created two textinuput and a button in builder.load_string.

  1. Id: cash
  2. Id: amount

I add on_release: app.on_submit() to the button, and I wanna make it check the textinuput for amount is equal or less than cash, then print ('sent'), else print('fraud'). If&else statement

Aucun commentaire:

Enregistrer un commentaire