Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Expression manager building arrays

Expression manager building arrays 1 Jahr 5 Monate her #88159

  • jelo
  • jelos Avatar
  • OFFLINE
  • Platinum Lime
  • Beiträge: 389
  • Dank erhalten: 40
  • Karma: 15
I am trying to get update in terms of the EM featureset.

Is there already a functionality to put the answers e.g. of an multichoice question into an array and filter certain items to create a new array for further questions (e.g. choose from the left items one).

I was trying to figure out, if this can be done without javascript or if this might be a feature request.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Expression manager building arrays 1 Jahr 5 Monate her #88171

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 5866
  • Dank erhalten: 718
  • Karma: 222
Hello,

Did you look at array_filter or array_filter_exclusion advanced settings ?
Not sure is what you want, but ?

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Expression manager building arrays 1 Jahr 5 Monate her #88217

  • jelo
  • jelos Avatar
  • OFFLINE
  • Platinum Lime
  • Beiträge: 389
  • Dank erhalten: 40
  • Karma: 15
Thanks for your time.
Yes, I know the filter for arrays.

I try to make an example:

Q1: Multiple choice "Choose items"
Q2: Multiple choice Arrayfilter on Q1: "Choose one of items"

Equation: If answer Q2 is on a list of three predefined items choose a random item from Q2 exclusive the three items.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Expression manager building arrays 1 Jahr 5 Monate her #88231

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 5866
  • Dank erhalten: 718
  • Karma: 222
I'm not sure i understand, but:
demonstration.sondages.pro/index.php?sid...97&newtest=Y&lang=fr
<script>
$(document).ready(function(){
$("#question{QID} table.question tbody:visible:gt(0)").hide();
});
</script>
With the second question array filtered + Random answer order
Letzte Änderung: 1 Jahr 5 Monate her von DenisChenu. Begründung: array filtered + Random answer order
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Expression manager building arrays 1 Jahr 5 Monate her #88240

  • jelo
  • jelos Avatar
  • OFFLINE
  • Platinum Lime
  • Beiträge: 389
  • Dank erhalten: 40
  • Karma: 15
Thanks for demonstration but I am afraid it isn't related to my example.

An item should be picked NOT by the respondent, but by limesurvey.
After Q1 and Q2 the ticked item of Q2 should checked against three predefined items.
If Answer of Q2 is on the list an item from Q1 should be picked randomly by limesurvey.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Ladezeit der Seite: 0.135 Sekunden
Donation Image