I'm still in playing mode rather than developing productive flavors, trying to learn how Personas works. One thing that puzzles me is how the IF actions work. My concrete example is a simple one - I have a field labeled "Username" on my login screen, a script button labelled "Name", and two more fields labeled "First name" and "Last name", like this:
Obviously I'm going to type in a username, the button is going to run SU01D, grab the first/last names from there and paste them back on the login screen. A quick user lookup function. Simple. But when the field is blank I'd like it to do nothing rather than have SU01D fail with a "user doesn't exist" error. Either protect the whole script with an "if not empty" or have an "if empty then abort" at the top. I don't see how to do either, at the moment.
Can anyone help with how you might use an IF to do this?
Thanks,
Steve.