Trim form values expect button tag and submit button