Actions

Talk

Talk:Workarounds: Manipulating a survey at runtime using Javascript

From LimeSurvey Manual

Regarding the [| meioMask] example, in 2.05+ there seems to be a problem with the following code sample not being recognized:

  // Tell the plugin to apply masks to these inputs
        $('input:#answer111111X22XAA').setMask();

Removing the colon after "input" is one way of correcting this, as follows:

  // Tell the plugin to apply masks to these inputs
        $('input#answer111111X22XAA').setMask();

(in the sample code provided after #5)

May 13, 2022: shouldn't we update this page with examples that work only on 3.x and 5.x versions and transfer older solution to some kind of archive?