Millisecond Forums

Survey form spell checker

https://forums.millisecond.com/Topic27487.aspx

By zhaokoh - 7/19/2019

Hi all,

I have some free-form input text that participants can type anything - although I have restricted to letters using a regular expression, I am just wondering if anyone has tried using a spell checker so that the word can be checked before submitting?

Also, anyone has any suggestion on how to do custom validation (checking the field) in survey page?

Thanks in advance.
By Dave - 7/19/2019

zhaokoh - 7/19/2019
Hi all,

I have some free-form input text that participants can type anything - although I have restricted to letters using a regular expression, I am just wondering if anyone has tried using a spell checker so that the word can be checked before submitting?

Also, anyone has any suggestion on how to do custom validation (checking the field) in survey page?

Thanks in advance.

It's not possible to implement a spell-checker. As for custom validation, it depends on what you want to do. A <textbox> has a response property, which returns the response submitted. You are free to process and vaildate that /ontrialend in the <surveypage> with string functions etc. ( https://www.millisecond.com/support/docs/v5/html/language/expressions/functions.htm )
By zhaokoh - 7/19/2019

Dave - 7/19/2019
zhaokoh - 7/19/2019
Hi all,

I have some free-form input text that participants can type anything - although I have restricted to letters using a regular expression, I am just wondering if anyone has tried using a spell checker so that the word can be checked before submitting?

Also, anyone has any suggestion on how to do custom validation (checking the field) in survey page?

Thanks in advance.

It's not possible to implement a spell-checker. As for custom validation, it depends on what you want to do. A <textbox> has a response property, which returns the response submitted. You are free to process and vaildate that /ontrialend in the <surveypage> with string functions etc. ( https://www.millisecond.com/support/docs/v5/html/language/expressions/functions.htm )

Thanks Dave.