How do I remove all leading and trailing whitespace in all user inputs of a form automatically?

WarnerJan Veldhuis

In the setter for myField of the form: this.myField = ( someParameter != null ? someParameter.trim() : null);

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact