hi, what is script problem right now?
don't work truly on iPad.
Please show the complete script and explain exactly how it fails.
Please note that creating your own log in script is not generally a good way to secure your solution.
I want when user enters his user name and password wrong and he log in with iPad go to layout X else go to layout Y
how is what you wrote the complete script as requested by philmodjunk?
Why are you trying to script functionality that can be easily achieved with the build in security access and privilege sets?
if you use "else" in your description of what you want to achieve why are you using two separate if statements instead of if get device = 3 do this else do that?
Retrieving data ...