From 1a11716040d63932d2dd697d35d829a5e543ace4 Mon Sep 17 00:00:00 2001 From: Carsten Schmitz Date: Fri, 27 Jan 2012 23:48:37 +0000 Subject: [PATCH] Fixed casing on showxquestions field git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_dev@12244 b72ed6b6-b9f8-46b5-92b4-906544132732 --- .../surveys/limesurvey_survey_29846.lss | 3529 ----------------- docs/demosurveys/Randomization_Group_Test.lss | 30 +- .../SAMPLE_SURVEY_191_EN_DE_FR.lss | 100 +- .../limesurvey2_sample_survey_english.lss | 214 +- .../ls2_cascading_array_filter.lss | 4 +- .../demosurveys/ls2_subquestion_relevance.lss | 8 +- docs/demosurveys/ls2_validation_tests.lss | 10 +- 7 files changed, 183 insertions(+), 3712 deletions(-) delete mode 100644 admin/remotecontrol/surveys/limesurvey_survey_29846.lss diff --git a/admin/remotecontrol/surveys/limesurvey_survey_29846.lss b/admin/remotecontrol/surveys/limesurvey_survey_29846.lss deleted file mode 100644 index 71523449dd9..00000000000 --- a/admin/remotecontrol/surveys/limesurvey_survey_29846.lss +++ /dev/null @@ -1,3529 +0,0 @@ - - - Survey - 145 - - en - - - - qid - code - answer - assessment_value - sortorder - language - scale_id - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - gid - sid - group_name - group_order - description - language - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - qid - parent_qid - sid - gid - type - title - question - preg - help - other - mandatory - question_order - language - scale_id - same_default - - - - - - - - - <![CDATA[A]]> - - - - - - - - - - - - - - - - - <![CDATA[B]]> - - - - - - - - - - - - - - - - - <![CDATA[C]]> - - - - - - - - - - - - - - - - - <![CDATA[E]]> - - - - - - - - - - - - - - - - - <![CDATA[F]]> - - - - - - - - - - - - - - - - - <![CDATA[H]]> - - - - - - - - - - - - - - - - - <![CDATA[Semantic]]> - ]]> - - ]]> - - - - - - - - - - - - - - <![CDATA[DualScale-radio]]> - ]]> - - - - - - - - - - - - - - - - <![CDATA[:]]> - ]]> - - - - - - - - - - - - - - - - <![CDATA[;]]> - ]]> - - - - - - - - - - - - - - - - <![CDATA[DualScale-dropdown]]> - ]]> - - - - - - - - - - - - - - - - <![CDATA[:]]> - ]]> - - - - - - - - - - - - - - - - <![CDATA[F]]> - ]]> - - - - - - - - - - - - - - - - <![CDATA[Q]]> - - - - - - - - - - - - - - - - - <![CDATA[T]]> - - - - - - - - - - - - - - - - - <![CDATA[S]]> - - - - - - - - - - - - - - - - - <![CDATA[U]]> - - - - - - - - - - - - - - - - - <![CDATA[Q]]> - ]]> - - - - - - - - - - - - - - - - <![CDATA[Q]]> - ]]> - - - - - - - - - - - - - - - - <![CDATA[X]]> - - - - - - - - - - - - - - - - - <![CDATA[G]]> - - - - - - - - - - - - - - - - - <![CDATA[N]]> - - - - - - - - - - - - - - - - - <![CDATA[R]]> - - - - - - - - - - - - - - - - - <![CDATA[Y]]> - - - - - - - - - - - - - - - - - <![CDATA[D]]> - - - - - - - - - - - - - - - - - <![CDATA[K]]> - ]]> - - - - - - - - - - - - - - - - <![CDATA[K]]> - ]]> - - ]]> - - - - - - - - - - - - - - <![CDATA[D]]> - ]]> - - - - - - - - - - - - - - - - <![CDATA[K]]> - ]]> - - ]]> - - - - - - - - - - - - - - <![CDATA[K]]> - ]]> - - - - - - - - - - - - - - - - <![CDATA[Z]]> - - - - - - - - - - - - - - - - - <![CDATA[W]]> - - - - - - - - - - - - - - - - - <![CDATA[O]]> - - - - - - - - - - - - - - - - - <![CDATA[L]]> - - - - - - - - - - - - - - - - - <![CDATA[5]]> - - - - - - - - - - - - - - - - - <![CDATA[!]]> - - - - - - - - - - - - - - - - - <![CDATA[P]]> - - - - - - - - - - - - - - - - - <![CDATA[M]]> - - - - - - - - - - - - - - - - - <![CDATA[Semantic-Slider]]> - ]]> - - - - - - - - - - - - - - qid - parent_qid - sid - gid - type - title - question - preg - help - other - mandatory - question_order - language - scale_id - same_default - - - - - - - - - <![CDATA[SPD]]> - - - - - - - - - - - - - - - - - <![CDATA[DSN]]> - - - - - - - - - - - - - - - - - <![CDATA[ACC]]> - - - - - - - - - - - - - - - - - <![CDATA[SPD]]> - - - - - - - - - - - - - - - - - <![CDATA[DSN]]> - - - - - - - - - - - - - - - - - <![CDATA[ACC]]> - - - - - - - - - - - - - - - - - <![CDATA[SPD]]> - - - - - - - - - - - - - - - - - <![CDATA[DSN]]> - - - - - - - - - - - - - - - - - <![CDATA[ACC]]> - - - - - - - - - - - - - - - - - <![CDATA[A1]]> - - - - - - - - - - - - - - - - - <![CDATA[A2]]> - - - - - - - - - - - - - - - - - <![CDATA[A3]]> - - - - - - - - - - - - - - - - - <![CDATA[A4]]> - - - - - - - - - - - - - - - - - <![CDATA[B1]]> - - - - - - - - - - - - - - - - - <![CDATA[B2]]> - - - - - - - - - - - - - - - - - <![CDATA[B3]]> - - - - - - - - - - - - - - - - - <![CDATA[B4]]> - - - - - - - - - - - - - - - - - <![CDATA[C1]]> - - - - - - - - - - - - - - - - - <![CDATA[C2]]> - - - - - - - - - - - - - - - - - <![CDATA[C3]]> - - - - - - - - - - - - - - - - - <![CDATA[C4]]> - - - - - - - - - - - - - - - - - <![CDATA[E1]]> - - - - - - - - - - - - - - - - - <![CDATA[E2]]> - - - - - - - - - - - - - - - - - <![CDATA[E3]]> - - - - - - - - - - - - - - - - - <![CDATA[E4]]> - - - - - - - - - - - - - - - - - <![CDATA[F1]]> - - - - - - - - - - - - - - - - - <![CDATA[F2]]> - - - - - - - - - - - - - - - - - <![CDATA[F3]]> - - - - - - - - - - - - - - - - - <![CDATA[F4]]> - - - - - - - - - - - - - - - - - <![CDATA[H1]]> - - - - - - - - - - - - - - - - - <![CDATA[H2]]> - - - - - - - - - - - - - - - - - <![CDATA[H3]]> - - - - - - - - - - - - - - - - - <![CDATA[H4]]> - - - - - - - - - - - - - - - - - <![CDATA[1]]> - - - - - - - - - - - - - - - - - <![CDATA[2]]> - - - - - - - - - - - - - - - - - <![CDATA[3]]> - - - - - - - - - - - - - - - - - <![CDATA[4]]> - - - - - - - - - - - - - - - - - <![CDATA[5]]> - - - - - - - - - - - - - - - - - <![CDATA[6]]> - - - - - - - - - - - - - - - - - <![CDATA[1]]> - - - - - - - - - - - - - - - - - <![CDATA[2]]> - - - - - - - - - - - - - - - - - <![CDATA[3]]> - - - - - - - - - - - - - - - - - <![CDATA[1]]> - - - - - - - - - - - - - - - - - <![CDATA[2]]> - - - - - - - - - - - - - - - - - <![CDATA[3]]> - - - - - - - - - - - - - - - - - <![CDATA[1]]> - - - - - - - - - - - - - - - - - <![CDATA[2]]> - - - - - - - - - - - - - - - - - <![CDATA[3]]> - - - - - - - - - - - - - - - - - <![CDATA[1]]> - - - - - - - - - - - - - - - - - <![CDATA[2]]> - - - - - - - - - - - - - - - - - <![CDATA[3]]> - - - - - - - - - - - - - - - - - <![CDATA[1]]> - - - - - - - - - - - - - - - - - <![CDATA[2]]> - - - - - - - - - - - - - - - - - <![CDATA[3]]> - - - - - - - - - - - - - - - - - <![CDATA[F1]]> - - - - - - - - - - - - - - - - - <![CDATA[F2]]> - - - - - - - - - - - - - - - - - <![CDATA[F3]]> - - - - - - - - - - - - - - - - - <![CDATA[F4]]> - - - - - - - - - - - - - - - - - <![CDATA[Q1]]> - - - - - - - - - - - - - - - - - <![CDATA[Q2]]> - - - - - - - - - - - - - - - - - <![CDATA[Q3]]> - - - - - - - - - - - - - - - - - <![CDATA[Q1]]> - - - - - - - - - - - - - - - - - <![CDATA[Q2]]> - - - - - - - - - - - - - - - - - <![CDATA[Q3]]> - - - - - - - - - - - - - - - - - <![CDATA[Q1]]> - - - - - - - - - - - - - - - - - <![CDATA[Q2]]> - - - - - - - - - - - - - - - - - <![CDATA[Q3]]> - - - - - - - - - - - - - - - - - <![CDATA[1]]> - - - - - - - - - - - - - - - - - <![CDATA[2]]> - - - - - - - - - - - - - - - - - <![CDATA[3]]> - - - - - - - - - - - - - - - - - <![CDATA[1]]> - - - - - - - - - - - - - - - - - <![CDATA[2]]> - - - - - - - - - - - - - - - - - <![CDATA[3]]> - - - - - - - - - - - - - - - - - <![CDATA[1]]> - - - - - - - - - - - - - - - - - <![CDATA[2]]> - - - - - - - - - - - - - - - - - <![CDATA[3]]> - - - - - - - - - - - - - - - - - <![CDATA[1]]> - - - - - - - - - - - - - - - - - <![CDATA[2]]> - - - - - - - - - - - - - - - - - <![CDATA[3]]> - - - - - - - - - - - - - - - - - <![CDATA[P1]]> - - - - - - - - - - - - - - - - - <![CDATA[P2]]> - - - - - - - - - - - - - - - - - <![CDATA[P3]]> - - - - - - - - - - - - - - - - - <![CDATA[M1]]> - - - - - - - - - - - - - - - - - <![CDATA[M2]]> - - - - - - - - - - - - - - - - - <![CDATA[M3]]> - - - - - - - - - - - - - - - - - <![CDATA[1]]> - - - - - - - - - - - - - - - - - <![CDATA[2]]> - - - - - - - - - - - - - - - - - <![CDATA[3]]> - - - - - - - - - - - - - - - - - <![CDATA[4]]> - - - - - - - - - - - - - - - - - <![CDATA[5]]> - - - - - - - - - - - - - - - - - <![CDATA[6]]> - - - - - - - - - - - - - - - qaid - qid - attribute - value - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sid - admin - expires - startdate - adminemail - private - faxto - format - template - language - additional_languages - datestamp - usecookie - notification - allowregister - allowsave - autonumber_start - autoredirect - showXquestions - showgroupinfo - shownoanswer - showqnumcode - allowprev - printanswers - ipaddr - refurl - bouncetime - bounceprocessing - bounceaccounttype - bounceaccounthost - bounceaccountuser - bounceaccountpass - bounceaccountencryption - publicstatistics - publicgraphs - listpublic - htmlemail - tokenanswerspersistence - assessments - usecaptcha - usetokens - bounce_email - attributedescriptions - emailresponseto - tokenlength - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - surveyls_survey_id - surveyls_language - surveyls_title - surveyls_description - surveyls_welcometext - surveyls_endtext - surveyls_url - surveyls_urldescription - surveyls_email_invite_subj - surveyls_email_invite - surveyls_email_remind_subj - surveyls_email_remind - surveyls_email_register_subj - surveyls_email_register - surveyls_email_confirm_subj - surveyls_email_confirm - surveyls_dateformat - - - - - - - -It also shows some of the options available for each question.
]]>
- -You can can edit it in the survey properties.]]> - -You can can edit it in the survey properties.
]]>
- - - - - - - - - - - -
-
-
-
diff --git a/docs/demosurveys/Randomization_Group_Test.lss b/docs/demosurveys/Randomization_Group_Test.lss index 1e2b7407e46..77f77f4ea41 100644 --- a/docs/demosurveys/Randomization_Group_Test.lss +++ b/docs/demosurveys/Randomization_Group_Test.lss @@ -1286,7 +1286,7 @@ allowsave autonumber_start autoredirect - showXquestions + showxquestions showgroupinfo shownoanswer showqnumcode @@ -1338,7 +1338,7 @@ - + @@ -1401,19 +1401,19 @@ - -
-To Illustrate this:
-
-                    A      B       C
----------------------------------------
-Rand Group1  Q1 |  Q4  | Q7
-                          --------------------
-Rand Group2  Q2 |  Q5  | Q8
-                          --------------------
-Rand Group3  Q3 |  Q6  | Q9
-
-
+ +
+To Illustrate this:
+
+                    A      B       C
+---------------------------------------
+Rand Group1  Q1 |  Q4  | Q7
+                          --------------------
+Rand Group2  Q2 |  Q5  | Q8
+                          --------------------
+Rand Group3  Q3 |  Q6  | Q9
+
+

]]>
diff --git a/docs/demosurveys/SAMPLE_SURVEY_191_EN_DE_FR.lss b/docs/demosurveys/SAMPLE_SURVEY_191_EN_DE_FR.lss index cae9dc711f3..23775760746 100644 --- a/docs/demosurveys/SAMPLE_SURVEY_191_EN_DE_FR.lss +++ b/docs/demosurveys/SAMPLE_SURVEY_191_EN_DE_FR.lss @@ -1810,10 +1810,10 @@ - - LimeSurvey can use a lot of condition and filter to show or hide question. You an use AND or OR condition. You can use previous question answers and tokens.

-

- More information on condition on the LimeSurvey documentation

+ + LimeSurvey can use a lot of condition and filter to show or hide question. You an use AND or OR condition. You can use previous question answers and tokens.

+

+ More information on condition on the LimeSurvey documentation

]]>
@@ -1822,10 +1822,10 @@ - - LimeSurvey peut utiliser de nombreuses conditions et filtres pour masquer certaines questions. Il est possible d'utiliser des conditions de type OR ou AND. Vous pouvez utiliser les réponses précédentes mais aussi les attributs des invitations.

-

- Plus d'informations sur les conditions sur La documentation de LimeSurvey

+ + LimeSurvey peut utiliser de nombreuses conditions et filtres pour masquer certaines questions. Il est possible d'utiliser des conditions de type OR ou AND. Vous pouvez utiliser les réponses précédentes mais aussi les attributs des invitations.

+

+ Plus d'informations sur les conditions sur La documentation de LimeSurvey

]]>
@@ -1834,8 +1834,8 @@ - - Limesurvey unterstützt eine Vielzahl von Bedingungen und Filtern zum Anzeigen und Vestecken von Fragen. Dies umfasst Bedingungen mit UND- sowie ODER-Verknüpfungen. Weitere Informationen finden sich in der LimeSurvey Dokumentation.

+ + Limesurvey unterstützt eine Vielzahl von Bedingungen und Filtern zum Anzeigen und Vestecken von Fragen. Dies umfasst Bedingungen mit UND- sowie ODER-Verknüpfungen. Weitere Informationen finden sich in der LimeSurvey Dokumentation.

]]>
@@ -2129,12 +2129,12 @@ <![CDATA[T1]]> - - Langer freier Text, Eingabefeld mit Größenangaben:

-

- Breite: 3
- Anzahl Zeilen: 2
- Maximale Zeichenanzahl: 6

+ + Langer freier Text, Eingabefeld mit Größenangaben:

+

+ Breite: 3
+ Anzahl Zeilen: 2
+ Maximale Zeichenanzahl: 6

]]>
@@ -2492,10 +2492,10 @@ <![CDATA[Q2]]> - -Genauigkeit = 0,1
-Minimumwert
-Maximumwert
+ +Genauigkeit = 0,1
+Minimumwert
+Maximumwert
Nutzung des Text-Separators]]>
@@ -2668,10 +2668,10 @@ Nutzung des Text-Separators]]>
<![CDATA[I]]> - - Cette question change la langue du questionnaire en cours, mieux vaut ne l'utiliser qu'a cela.

-

- Cela peut être intéressant de poser cette question au démarrage du questionnaire.

+ + Cette question change la langue du questionnaire en cours, mieux vaut ne l'utiliser qu'a cela.

+

+ Cela peut être intéressant de poser cette question au démarrage du questionnaire.

]]>
@@ -2689,10 +2689,10 @@ Nutzung des Text-Separators]]>
<![CDATA[I]]> - - This question change the language of the actual survey : don't use for other thing.

-

- It can be interesting to use it at survey start

+ + This question change the language of the actual survey : don't use for other thing.

+

+ It can be interesting to use it at survey start

]]>
@@ -2963,8 +2963,8 @@ Nutzung des Text-Separators]]> <![CDATA[M2]]> - - Mehrfachauswahl (mit Exklusivauswahl)

+ + Mehrfachauswahl (mit Exklusivauswahl)

]]>
@@ -2999,10 +2999,10 @@ Nutzung des Text-Separators]]>
<![CDATA[K]]> - -$(document).ready(function() { - $('#answer87262X32X427SQ002comment').hide(); -}); + +$(document).ready(function() { + $('#answer87262X32X427SQ002comment').hide(); +}); Multiple option with comments (default answers and 1 Minimum Answer)]]> @@ -14529,7 +14529,7 @@ $("#CHOICES_25 option[value='A1'").remove(); emailresponseto emailnotificationto tokenlength - showXquestions + showxquestions showgroupinfo shownoanswer showqnumcode @@ -14584,7 +14584,7 @@ $("#CHOICES_25 option[value='A1'").remove(); - + @@ -14635,8 +14635,8 @@ $("#CHOICES_25 option[value='A1'").remove(); - - Dies ist die Willkommensnachricht des Fragebogens. Sie kann unter Fragebogeneinstellungen -> Texte angepasst werden.

+ + Dies ist die Willkommensnachricht des Fragebogens. Sie kann unter Fragebogeneinstellungen -> Texte angepasst werden.

]]>
@@ -14784,13 +14784,13 @@ Die folgenden Antworten wurden vom Teilnehmer gegeben: - - This is the welcome text for the survey! You can can edit it in the survey properties.

+ + This is the welcome text for the survey! You can can edit it in the survey properties.

]]>
- - This is the end message for the survey! A good place to thank you to answer to this survey.

-

- LimeSurvey : THE survey software is a free software, help LimeSurvey project : donate

+ + This is the end message for the survey! A good place to thank you to answer to this survey.

+

+ LimeSurvey : THE survey software is a free software, help LimeSurvey project : donate

]]>
@@ -14814,13 +14814,13 @@ Die folgenden Antworten wurden vom Teilnehmer gegeben: - - Ceci est le message d'accueil de votre sondage !! Vous pouvez l'éditer dans les paramètres du questionnaire.

+ + Ceci est le message d'accueil de votre sondage !! Vous pouvez l'éditer dans les paramètres du questionnaire.

]]>
- - Ceci est le message de fin de votre questionnaire ! Un bon endroit pour vous remercier d'avoir répondu à ce questionnaire.

-

- LimeSurvey : THE survey software est un logiciel libre, pour soutenir le projet : donation

+ + Ceci est le message de fin de votre questionnaire ! Un bon endroit pour vous remercier d'avoir répondu à ce questionnaire.

+

+ LimeSurvey : THE survey software est un logiciel libre, pour soutenir le projet : donation

]]>
diff --git a/docs/demosurveys/limesurvey2_sample_survey_english.lss b/docs/demosurveys/limesurvey2_sample_survey_english.lss index 6229bdbaa82..7530b2d24fd 100644 --- a/docs/demosurveys/limesurvey2_sample_survey_english.lss +++ b/docs/demosurveys/limesurvey2_sample_survey_english.lss @@ -2561,8 +2561,8 @@ - -Please make sure that num is less than num2, otherwise you won't be able to answer some of the validation tests.
+ +Please make sure that num is less than num2, otherwise you won't be able to answer some of the validation tests.
Also, in order to see the Dynamic Relevance page, the value for num must be greater than 10.]]>
@@ -2573,8 +2573,8 @@ Also, in order to see the Dynamic Relevance page, the value for num must - -This page is only shown when num from the previous page is greater than 10. It's current value is {num}.
+ +This page is only shown when num from the previous page is greater than 10. It's current value is {num}.
You must enter values for age and yearsMarried in order to complete some of the Validation Tests later in this survey; and age must be greater than yearsMarried.]]>
@@ -2892,38 +2892,38 @@ You must enter values for age and yearsMarried in order to complet <![CDATA[math]]> - -FunctionSyntaxResult -Absolute valueabs({num}){if(is_numeric(num),abs(num),'')} -Arc cosineacos({num}){if(is_numeric(num),acos(num),'')} -Arc sineasin({num}){if(is_numeric(num),asin(num),'')} -Arc tangent of two variablesatan2({num},{num2}){if(is_numeric(num) && is_numeric(num2),atan2(num,num2),'')} -Arc tangentatan({num}){if(is_numeric(num),atan(num),'')} -Round fractions upceil({num}){if(is_numeric(num),ceil(num),'')} -Cosinecos({num}){if(is_numeric(num),cos(num),'')} -Calculates the exponent of eexp({num}){if(is_numeric(num),exp(num),'')} -Round fractions downfloor({num}){if(is_numeric(num),floor(num),'')} -Finds whether a value is not a numberis_nan({num}){if(is_numeric(num),is_nan(num),'')} -Natural logarithmlog({num}){if(is_numeric(num),log(num),'')} -Get value of pipi(){pi()} -Exponential expressionpow({num},{num2}){if(is_numeric(num) && is_numeric(num2),pow(num,num2),'')} -Generate a random integerrand(){rand()} -Rounds a floatround({num}){if(is_numeric(num),round(num),'')} -Sinesin({num}){if(is_numeric(num),sin(num),'')} -Square rootsqrt({num}){if(is_numeric(num),sqrt(num),'')} -Calculate the sum of values in an arraysum({num}){if(is_numeric(num),sum(num),'')} -Tangenttan({num}){if(is_numeric(num),tan(num),'')} -Find lowest valuemin({num2},{num},{num}+{num2},{num}-{num2},{num}*{num2},{num}/2){if(is_numeric(num),min(num2,num,num+num2,num-num2,num*num2,num/2),'')} -Find highest valuemax({num2},{num},{num}+{num2},{num}-{num2},{num}*{num2},{num}/2){if(is_numeric(num),max(num2,num,num+num2,num-num2,num*num2,num/2),'')} -Sumsum({num2},{num},{num}+{num2},{num}-{num2},{num}*{num2},{num}/2){if(is_numeric(num),sum(num2,num,num+num2,num-num2,num*num2,num/2),'')} -Join array elements with a stringimplode('~',{num2},{num},{num}+{num2},{num}-{num2},{num}*{num2},{num}/2){implode('~',num2,num,num+num2,num-num2,num*num2,num/2)} -Get the integer value of a variableintval({num}){if(is_numeric(num),intval(num),'')} -Finds whether the type of a variable is floatis_float({num}){if(is_numeric(num),is_float(num),'')} -Finds whether the type of a variable is integeris_int({num}){if(is_numeric(num),is_int(num),'')} -Finds whether the type of a variable is NULLis_null({num}){is_null(num)} -Finds whether a variable is a number or a numeric stringis_numeric({num}){is_numeric(num)} -Finds whether the type of a variable is stringis_string({num}){is_string(num)} -Determine whether a variable is considered to be emptyis_empty({num}){is_empty(num)} + +FunctionSyntaxResult +Absolute valueabs({num}){if(is_numeric(num),abs(num),'')} +Arc cosineacos({num}){if(is_numeric(num),acos(num),'')} +Arc sineasin({num}){if(is_numeric(num),asin(num),'')} +Arc tangent of two variablesatan2({num},{num2}){if(is_numeric(num) && is_numeric(num2),atan2(num,num2),'')} +Arc tangentatan({num}){if(is_numeric(num),atan(num),'')} +Round fractions upceil({num}){if(is_numeric(num),ceil(num),'')} +Cosinecos({num}){if(is_numeric(num),cos(num),'')} +Calculates the exponent of eexp({num}){if(is_numeric(num),exp(num),'')} +Round fractions downfloor({num}){if(is_numeric(num),floor(num),'')} +Finds whether a value is not a numberis_nan({num}){if(is_numeric(num),is_nan(num),'')} +Natural logarithmlog({num}){if(is_numeric(num),log(num),'')} +Get value of pipi(){pi()} +Exponential expressionpow({num},{num2}){if(is_numeric(num) && is_numeric(num2),pow(num,num2),'')} +Generate a random integerrand(){rand()} +Rounds a floatround({num}){if(is_numeric(num),round(num),'')} +Sinesin({num}){if(is_numeric(num),sin(num),'')} +Square rootsqrt({num}){if(is_numeric(num),sqrt(num),'')} +Calculate the sum of values in an arraysum({num}){if(is_numeric(num),sum(num),'')} +Tangenttan({num}){if(is_numeric(num),tan(num),'')} +Find lowest valuemin({num2},{num},{num}+{num2},{num}-{num2},{num}*{num2},{num}/2){if(is_numeric(num),min(num2,num,num+num2,num-num2,num*num2,num/2),'')} +Find highest valuemax({num2},{num},{num}+{num2},{num}-{num2},{num}*{num2},{num}/2){if(is_numeric(num),max(num2,num,num+num2,num-num2,num*num2,num/2),'')} +Sumsum({num2},{num},{num}+{num2},{num}-{num2},{num}*{num2},{num}/2){if(is_numeric(num),sum(num2,num,num+num2,num-num2,num*num2,num/2),'')} +Join array elements with a stringimplode('~',{num2},{num},{num}+{num2},{num}-{num2},{num}*{num2},{num}/2){implode('~',num2,num,num+num2,num-num2,num*num2,num/2)} +Get the integer value of a variableintval({num}){if(is_numeric(num),intval(num),'')} +Finds whether the type of a variable is floatis_float({num}){if(is_numeric(num),is_float(num),'')} +Finds whether the type of a variable is integeris_int({num}){if(is_numeric(num),is_int(num),'')} +Finds whether the type of a variable is NULLis_null({num}){is_null(num)} +Finds whether a variable is a number or a numeric stringis_numeric({num}){is_numeric(num)} +Finds whether the type of a variable is stringis_string({num}){is_string(num)} +Determine whether a variable is considered to be emptyis_empty({num}){is_empty(num)} ]]> @@ -3266,11 +3266,11 @@ You must enter values for age and yearsMarried in order to complet <![CDATA[message2]]> - -{if(is_empty(name),'',if(is_empty(age),'How old are you?',implode(' ','So, you are',age,'years old. Funny, you don\'t look it.')))}
-{if(numKids>0,implode(' ','I hope you enjoy playing with your',if(numKids==1,'child!',implode(' ',numKids,'children!')),' I love my two girls!'),'')}
-{if(numKids>1,implode('','The sum of the ages of your first ',min(5,numKids),' children is ',sum(kid1.NAOK,kid2.NAOK,kid3.NAOK,kid4.NAOK,kid5.NAOK),''),'')}
-{if(sum(kid1.NAOK,kid2.NAOK,kid3.NAOK,kid4.NAOK,kid5.NAOK)>age,'Wow, that means that the combined age of your children exceeds your own!','')}
+ +{if(is_empty(name),'',if(is_empty(age),'How old are you?',implode(' ','So, you are',age,'years old. Funny, you don\'t look it.')))}
+{if(numKids>0,implode(' ','I hope you enjoy playing with your',if(numKids==1,'child!',implode(' ',numKids,'children!')),' I love my two girls!'),'')}
+{if(numKids>1,implode('','The sum of the ages of your first ',min(5,numKids),' children is ',sum(kid1.NAOK,kid2.NAOK,kid3.NAOK,kid4.NAOK,kid5.NAOK),''),'')}
+{if(sum(kid1.NAOK,kid2.NAOK,kid3.NAOK,kid4.NAOK,kid5.NAOK)>age,'Wow, that means that the combined age of your children exceeds your own!','')}
{if((married=='Y' and max(kid1.NAOK,kid2.NAOK,kid3.NAOK,kid4.NAOK,kid5.NAOK)>yearsMarried),'Hmmm, your oldest child is older than your marriage. Interesting.','')}]]>
@@ -8911,68 +8911,68 @@ Is this correct? <![CDATA[report2]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Var - SGQA - INSERTANS:SGQA
- city - 82556X129X3206 - {82556X129X3206}, {INSERTANS:82556X129X3206}
- yearsThere - 82556X129X3207 - {82556X129X3207}, {INSERTANS:82556X129X3207}
- ranking_2 - 82556X129X32082 - {82556X129X32082}, {INSERTANS:82556X129X32082}
- opinions_srv - 82556X129X3209srv - {82556X129X3209srv}, {INSERTANS:82556X129X3209srv}
- worries_smog_0 - 82556X129X3210smog#0 - {82556X129X3210smog#0}, {INSERTANS:82556X129X3210smog#0}
- worries_trans_1 - 82556X129X3210trans#1 - {82556X129X3210trans#1}, {INSERTANS:82556X129X3210trans#1}
-

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Var + SGQA + INSERTANS:SGQA
+ city + 82556X129X3206 + {82556X129X3206}, {INSERTANS:82556X129X3206}
+ yearsThere + 82556X129X3207 + {82556X129X3207}, {INSERTANS:82556X129X3207}
+ ranking_2 + 82556X129X32082 + {82556X129X32082}, {INSERTANS:82556X129X32082}
+ opinions_srv + 82556X129X3209srv + {82556X129X3209srv}, {INSERTANS:82556X129X3209srv}
+ worries_smog_0 + 82556X129X3210smog#0 + {82556X129X3210smog#0}, {INSERTANS:82556X129X3210smog#0}
+ worries_trans_1 + 82556X129X3210trans#1 + {82556X129X3210trans#1}, {INSERTANS:82556X129X3210trans#1}
+

 

]]>
@@ -9027,7 +9027,7 @@ Is this correct? <![CDATA[no_age_ymarried]]> - age and yearsMarried in order to complete some of the Validation Tests later in the survey.
+ age and yearsMarried in order to complete some of the Validation Tests later in the survey.
In order to enter age, you must enter your name. In order to enter yearsMarried, you must say you are more than 5 years old.]]>
@@ -9046,7 +9046,7 @@ In order to enter age, you must enter your name. In order to enter yearsMarried <![CDATA[age_lt_ym]]> - + Please correct this or you won't be able to pass some of the Validation Tests later in this survey.]]> @@ -35222,7 +35222,7 @@ Please correct this or you won't be able to pass some of the Validation Tests la emailresponseto emailnotificationto tokenlength - showXquestions + showxquestions showgroupinfo shownoanswer showqnumcode @@ -35280,7 +35280,7 @@ attribute_3=Attribute 3 - + diff --git a/docs/demosurveys/ls2_cascading_array_filter.lss b/docs/demosurveys/ls2_cascading_array_filter.lss index ece1b7efad3..ac9db83b77d 100644 --- a/docs/demosurveys/ls2_cascading_array_filter.lss +++ b/docs/demosurveys/ls2_cascading_array_filter.lss @@ -2084,7 +2084,7 @@ emailresponseto emailnotificationto tokenlength - showXquestions + showxquestions showgroupinfo shownoanswer showqnumcode @@ -2141,7 +2141,7 @@ - + diff --git a/docs/demosurveys/ls2_subquestion_relevance.lss b/docs/demosurveys/ls2_subquestion_relevance.lss index 68d9df87d21..4e65292c271 100644 --- a/docs/demosurveys/ls2_subquestion_relevance.lss +++ b/docs/demosurveys/ls2_subquestion_relevance.lss @@ -146,8 +146,8 @@ <![CDATA[Notes]]> -
-You answered {count(afK_sq1.NAOK,afK_sq2.NAOK,afK_sq3.NAOK,afK_sq4.NAOK,afK_sq5.NAOK,afK_other.NAOK)} questions in afK (sum = {sum(afK_sq1.NAOK,afK_sq2.NAOK,afK_sq3.NAOK,afK_sq4.NAOK,afK_sq5.NAOK,afK_other.NAOK)}).
+
+You answered {count(afK_sq1.NAOK,afK_sq2.NAOK,afK_sq3.NAOK,afK_sq4.NAOK,afK_sq5.NAOK,afK_other.NAOK)} questions in afK (sum = {sum(afK_sq1.NAOK,afK_sq2.NAOK,afK_sq3.NAOK,afK_sq4.NAOK,afK_sq5.NAOK,afK_other.NAOK)}).
and {count(afeK_sq1.NAOK,afeK_sq2.NAOK,afeK_sq3.NAOK,afeK_sq4.NAOK,afeK_sq5.NAOK,afeK_other.NAOK)} questions in afeK (sum = {sum(afeK_sq1.NAOK,afeK_sq2.NAOK,afeK_sq3.NAOK,afeK_sq4.NAOK,afeK_sq5.NAOK,afeK_other.NAOK)}).]]>
@@ -1140,7 +1140,7 @@ and {count(afeK_sq1.NAOK,afeK_sq2.NAOK,afeK_sq3.NAOK,afeK_sq4.NAOK,afeK_sq5.N emailresponseto emailnotificationto tokenlength - showXquestions + showxquestions showgroupinfo shownoanswer showqnumcode @@ -1197,7 +1197,7 @@ and {count(afeK_sq1.NAOK,afeK_sq2.NAOK,afeK_sq3.NAOK,afeK_sq4.NAOK,afeK_sq5.N - + diff --git a/docs/demosurveys/ls2_validation_tests.lss b/docs/demosurveys/ls2_validation_tests.lss index 66d993b73d0..17013bbf79a 100644 --- a/docs/demosurveys/ls2_validation_tests.lss +++ b/docs/demosurveys/ls2_validation_tests.lss @@ -542,7 +542,7 @@ <![CDATA[vfMFtext]]> - afSrcFilter from the first page.
+ afSrcFilter
from the first page.
Please enter a valid US phone number. The Validation Equation is /^(?:\(\d{ 3 }\))\s*\d{ 3 }-\d{ 4 }$/]]>
@@ -903,7 +903,7 @@ Please enter a valid US phone number. The Validation Equation is /^(?:\(\d{ 3 }\ <![CDATA[afMN]]> - + Enter at least {minSelect} and at most {maxSelect} values.]]> @@ -6192,7 +6192,7 @@ Enter at least {minSelect} and at most {maxSelect} values.]]> emailresponseto emailnotificationto tokenlength - showXquestions + showxquestions showgroupinfo shownoanswer showqnumcode @@ -6249,7 +6249,7 @@ Enter at least {minSelect} and at most {maxSelect} values.]]> - + @@ -6301,7 +6301,7 @@ Enter at least {minSelect} and at most {maxSelect} values.]]> - pression-based validation.
+ pression-based validation.
It also shows how color coding is used to show whether each question and sub-question is valid.]]>