i need to make a value say for example,
Textfield1 should be visible when textfield2.rawvalue=1
textfield1 should be invisible when textfield2.rawvalue=2
case 1: //if textField is 1 when exited, execute this code
textField1.presence = "visible";
case 2: //if textField is 1 when exited, execute this code
textField1.presence = "invisible";
default: //this code runs when the above logic is not met
//put code here that executes if when textField2 is exited, the rawValue isn't 1 or 2.
Thanks for your Answer.
But i need the value from Textfield1 and only at certain value i need the Textfield2 to be visible and not just in all exit cases.