Remove trailing whitespace
Remove trailing whitespace
Use fields if form object is an instance of the class