I was wondering this too, I was trying to use it to ckeck a text field to see if the user did not enter any input when a button is pressed.