What is the value returned by surname.getText()
of a textfield, if someone doesn't enter any value?
How do you test for it?<br><br>I tried:<br>if
(surname.getText() == "")<br>and<br>if (surname.getText() ==
null)<br>but neither seems to work - or am I doing something
else wrong