Actions

Talk

Talk:Workarounds: Manipulating a survey at runtime using Javascript

From LimeSurvey Manual

Revision as of 12:48, 13 May 2022 by Tammo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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?