ConfirmIt Set error message
One of the most important things in the scripting - track the errors. You can set different languages by replaces CurrentLang() with the number for each language (e.g. 9 for English) or its short abbreviation (e.g. LangIDs.en).
//surveyscripting.com
RaiseError();
SetQuestionErrorMessage(CurrentLang(), "Error.");