If the user enters a emty string then set the combo selection to the string that was previously selected.
Please give a way out of this problem.
posted 11 years ago
You can test the length of the string or see if the string is all space characters, or use trim to remove white space and then test the length. If the string is in one of these conditions, then don't add it to the box.