-Function | Syntax | Result |
-Absolute value | abs({num}) | {if(is_numeric(num),abs(num),'')} |
-Arc cosine | acos({num}) | {if(is_numeric(num),acos(num),'')} |
-Arc sine | asin({num}) | {if(is_numeric(num),asin(num),'')} |
-Arc tangent of two variables | atan2({num},{num2}) | {if(is_numeric(num) && is_numeric(num2),atan2(num,num2),'')} |
-Arc tangent | atan({num}) | {if(is_numeric(num),atan(num),'')} |
-Round fractions up | ceil({num}) | {if(is_numeric(num),ceil(num),'')} |
-Cosine | cos({num}) | {if(is_numeric(num),cos(num),'')} |
-Calculates the exponent of e | exp({num}) | {if(is_numeric(num),exp(num),'')} |
-Round fractions down | floor({num}) | {if(is_numeric(num),floor(num),'')} |
-Finds whether a value is not a number | is_nan({num}) | {if(is_numeric(num),is_nan(num),'')} |
-Natural logarithm | log({num}) | {if(is_numeric(num),log(num),'')} |
-Get value of pi | pi() | {pi()} |
-Exponential expression | pow({num},{num2}) | {if(is_numeric(num) && is_numeric(num2),pow(num,num2),'')} |
-Generate a random integer | rand() | {rand()} |
-Rounds a float | round({num}) | {if(is_numeric(num),round(num),'')} |
-Sine | sin({num}) | {if(is_numeric(num),sin(num),'')} |
-Square root | sqrt({num}) | {if(is_numeric(num),sqrt(num),'')} |
-Calculate the sum of values in an array | sum({num}) | {if(is_numeric(num),sum(num),'')} |
-Tangent | tan({num}) | {if(is_numeric(num),tan(num),'')} |
-Find lowest value | min({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 value | max({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),'')} |
-Sum | sum({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 string | implode('~',{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 variable | intval({num}) | {if(is_numeric(num),intval(num),'')} |
-Finds whether the type of a variable is float | is_float({num}) | {if(is_numeric(num),is_float(num),'')} |
-Finds whether the type of a variable is integer | is_int({num}) | {if(is_numeric(num),is_int(num),'')} |
-Finds whether the type of a variable is NULL | is_null({num}) | {is_null(num)} |
-Finds whether a variable is a number or a numeric string | is_numeric({num}) | {is_numeric(num)} |
-Finds whether the type of a variable is string | is_string({num}) | {is_string(num)} |
-Determine whether a variable is considered to be empty | is_empty({num}) | {is_empty(num)} |
+
+Function | Syntax | Result |
+Absolute value | abs({num}) | {if(is_numeric(num),abs(num),'')} |
+Arc cosine | acos({num}) | {if(is_numeric(num),acos(num),'')} |
+Arc sine | asin({num}) | {if(is_numeric(num),asin(num),'')} |
+Arc tangent of two variables | atan2({num},{num2}) | {if(is_numeric(num) && is_numeric(num2),atan2(num,num2),'')} |
+Arc tangent | atan({num}) | {if(is_numeric(num),atan(num),'')} |
+Round fractions up | ceil({num}) | {if(is_numeric(num),ceil(num),'')} |
+Cosine | cos({num}) | {if(is_numeric(num),cos(num),'')} |
+Calculates the exponent of e | exp({num}) | {if(is_numeric(num),exp(num),'')} |
+Round fractions down | floor({num}) | {if(is_numeric(num),floor(num),'')} |
+Finds whether a value is not a number | is_nan({num}) | {if(is_numeric(num),is_nan(num),'')} |
+Natural logarithm | log({num}) | {if(is_numeric(num),log(num),'')} |
+Get value of pi | pi() | {pi()} |
+Exponential expression | pow({num},{num2}) | {if(is_numeric(num) && is_numeric(num2),pow(num,num2),'')} |
+Generate a random integer | rand() | {rand()} |
+Rounds a float | round({num}) | {if(is_numeric(num),round(num),'')} |
+Sine | sin({num}) | {if(is_numeric(num),sin(num),'')} |
+Square root | sqrt({num}) | {if(is_numeric(num),sqrt(num),'')} |
+Calculate the sum of values in an array | sum({num}) | {if(is_numeric(num),sum(num),'')} |
+Tangent | tan({num}) | {if(is_numeric(num),tan(num),'')} |
+Find lowest value | min({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 value | max({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),'')} |
+Sum | sum({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 string | implode('~',{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 variable | intval({num}) | {if(is_numeric(num),intval(num),'')} |
+Finds whether the type of a variable is float | is_float({num}) | {if(is_numeric(num),is_float(num),'')} |
+Finds whether the type of a variable is integer | is_int({num}) | {if(is_numeric(num),is_int(num),'')} |
+Finds whether the type of a variable is NULL | is_null({num}) | {is_null(num)} |
+Finds whether a variable is a number or a numeric string | is_numeric({num}) | {is_numeric(num)} |
+Finds whether the type of a variable is string | is_string({num}) | {is_string(num)} |
+Determine whether a variable is considered to be empty | is_empty({num}) | {is_empty(num)} |
]]>
@@ -3266,11 +3266,11 @@ You must enter values for age and yearsMarried in order to complet
-
-{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?
-
-
-
-
-
- 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?
- 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
-
+
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 @@
-
-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 @@
- 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 }$/]]>