Syspons SurveyXact Library Documentation - v1.0.7
    Preparing search index...

    Function set

    • Build the max chars indication. This function needs to be included in en expression for every time an indication should be build. Please be aware, that the indication does not actually prevent the user from continuing, so a normal SurveyXact validation rule must be applied as well. max_chars

      The inserted script needs to get the same id attribute as the id parameter. See the following example:

      "<script id='UNIQUE_ID' language='javascript' type='text/javascript'>$(document).ready(function() { ssxlib.max_chars.set('UNIQUE_ID', 15);})</script>"
      

      Parameters

      • id: string

        An unique id to identify the place to insert the indication (referred to as UNIQUE_ID in the script above).

      • maxChars: number

        The maximum number of possible chars.

      Returns void