Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | joleera |
i get this error Invalid call. Nonexistent function ‘get_txt’ in base ‘LineEdit’.
func _on_Confirm_pressed():
if username_input.get_txt() == “”:
print(“valid username”)
elif userpassword_input.get_txt() == “”:
print(“valid password”)
elif userpassword_repeat_input.get_txt() == “”:
print(“valid password”)
elif userpassword_repeat_input.get_txt() != userpassword_repeat_input.get_txt():
print(“password i”)
elif userpassword_input.get_txt().lenght() <=6:
print("7 )
else:
confirm_button.disabled = true
back_button.disabled = true
var username = username_input.get_txt()
var password = userpassword_input.get_txt()
Gateway.ConnectToServer(username, password, true)
(“error”)