Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

open-end letters only

Hi,

I have an open end question and I want it to accept only letters and not numbers or any other characters. How do I go about this?
asked Apr 16 by anonymous

1 Answer

+1 vote
Please try adding this custom JavaScript verification to your open-end:

if (!/^[a-z]*$/i.test(SSI_GetValue('[% QuestionName() %]'))) {
    strErrorMessage = 'Error';
}
answered Apr 16 by Zachary Platinum Sawtooth Software, Inc. (120,900 points)
...