Trying to push the limits of App Inventor!
Snippets,
Tutorials and
Extensions from
Pura Vida Apps by
Taifun.
a user enters name and password into a textboxthen send a select statement like this: SELECT password FROM <tableid> WHERE user = 'user name entered in user name textbox'
now in the FusiontablesControl.GotResult event you can check the result:1. if there is no row returned, i.e. the user name does not exist in the table, print an error message "user does not exist"2. if a row was returned, now check, if the returned password is equal to the password entered in the password textboxif no, print error message "password is wrong"
btw. normally it's not a good idea to store plain passwords in a table, a better solution is to create a hash value and compare the hash values then
I would like to know if there's a way to send verification from mit ai2 when the user signs up, so as to validate the mobile number??
what about providing a screenshot including Do it results of the sql statement and the result?
Trying to push the limits of App Inventor! Snippets and Tutorials from Pura Vida Apps by Taifun.
you also might want to disable all blocks in the fusiontable control got result event and as test display the result in a label instead