support for removing of trailing spaces in form fields
support for removing trailing spaces