Right trim an entry


We have a question that is set for numeric validation.  There have been a number of people who answered with, for example, “3 points” which, of course, fails.  They remove the “points” string but the space behind the 3 remains so it still fails.  Is there a way to right trim spaces when an answer is submitted?

shari asked
Question is closed, new answer are not accepted.
    • Hi Shari! I tested this behavior with a Number question, and found any trailing spaces to be stripped automatically. It sounds like you are referring to the validation itself when you say it “fails” for you with a trailing space – is that correct, or are you referring to something else failing?


    Yes, it fails validation.  I tested it and if I enter “3<sp>” it fails validation but just “3” it passes validation.

    shari answered


      Question stats

      • Active
      • Views560 times
      • Answers1 answer
      • Followers0 followers