views:

35

answers:

1

Hi

This may not be very technical, but in my application I want to prompt the user when the form input element value has whitepsaces only.

My english grammar is not the best so I hope some of the better english speaking folks can help me with this sentence:

alert("This field can not contain whitespaces only: " + labelName);

Thanks in advance R.

+1  A: 

Perhaps "This field cannot be left blank" ? I'm not sure that many people outside programming understand 'whitespace' as programmers do.

Brian Agnew
I think I go for this one.
Random
I think I go for this one. Thanks!
Random