Expand my Community achievements bar.

Infinite Looping - Validation

Avatar

Former Community Member
Hello Again,



I have 8 fields where the rawvalue must be ge another field; if not, then setfocus back to that field. This works except when I tab to the next field then it goes into a looping cycle and I have to break the program in order to get out...



if (numShower.rawValue < showercapa.rawValue)

{

xfa.host.messageBox("Invalid Number Input","Warning","1");



xfa.host.setFocus(this);

}



I have tried several solutions but nothing is working!



Please help!
0 Replies