jQuery in Action, 3rd edition
The moose likes Struts and the fly likes Validator for NOT NULL/ blanks Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Validator for NOT NULL/ blanks" Watch "Validator for NOT NULL/ blanks" New topic
Author

Validator for NOT NULL/ blanks

Surendra Kumar
Ranch Hand

Joined: Jul 04, 2006
Posts: 236
Hi,

I am trying to validate a form input field. my requirment is not allowing spaces in the input value. I am not able to work it out. Even if it's a required field, if just blank spaces are typed in, and submit, it's submitting. I am using struts validator (validation.xml).
Can you please help?

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Validator for NOT NULL/ blanks
 
It's not a secret anymore!