#117748 by webchick, Pancho, Rob Loach, pwolanin: required field values were not properly trim()ed on validation