• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error msg does not appear  RSS feed

 
vicneswaran boi
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if( !(vec.size() == 0)&& message.equals("")) {
errorMsg += "<LI>Please type in your message.";



this is my validateing procces ..Wat it does is that if no one writes anything in the text box and submits the error msg above should appear but in my case it does not. why is this so.
 
Malhar Barai
Author
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try if


works..

hth
MB
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!