Making a password screen?
var username = Tiggr('mobiletextinput1').val();
var password = Tiggr('mobiletextinput2').val();
if (username != 'user' && password != 'pass'){
alert ('Incorrect username and password.');
return;
}
Doing exactly this gives an interesting result:
With this configuration, as long as the username is right, it doesnt matter what the password is...... you will be put through to home page. With this configuration, you have to get both username and password both wrong to be blocked and receive the "incorrect username and password".
Of course, I want to make sure they put in the right username and right password or they should receive the "incorrect username and password" message.
thanks so much.
this is 99% there. I'm thrilled and appreciative.
Best