I want to put a validation that the user always enters a value in the textbox before submiting the form. But the check that I have put allows user to enter white spaces and continue submitting the form.
So, how to put the check so that the user in not able to submit the form if there are only white spaces in the textbox.
I want to put a validation that the user always enters a value in
Share
You can make your own custom validation function. This may be very naive, but somehow it will work.