Looking to create an Expandable TextArray? Can anyone help?!

Plus d'informations
il y a 1 mois 1 jour #187834 par Jordyhaze
Hi,

I'm not too sure if this will get responded to in time however I wanted to ask anyway as i'm only making myself more confused the further I go on without exactly knowing what to do.

I'm trying to do an expandable TextArray however rather than populating a new line once the answer has been clicked on, as of course this would usually be a radio list, (Like in your Demo example - www.partnersinc.biz/surveys//index.php?s...58&newtest=Y&lang=en ) I want it to create a new line once each of the four scales have been populated via text input.

Is this able to be done? I'm new to this software so i'm still trialing and learning as I go but wondered if there was anyone who knows whether this can be completed or not, and if it can, how?

Thanks,

Connexion ou Créer un compte pour participer à la conversation.

LimeSurvey Partners
Plus d'informations
il y a 1 mois 1 jour #187856 par Joffm
Hi,
you nearly answered your question already.
You say the condition to display the next row is:
Each of the four text fields is filled - or: no one is empty.

Here you use subqueston relevance.
Therefore you enter in the subquestion relevance of the second subquestion
!is_empty(Q1_SQ001_X001) and !is_empty(Q1_SQ001_X002) and !is_empty(Q1_SQ001_X003) and !is_empty(Q1_SQ001_X004)
and in the third subquestion
!is_empty(Q1_SQ002_X001) and !is_empty(Q1_SQ002_X002) and !is_empty(Q1_SQ002_X003) and !is_empty(Q1_SQ002_X004)

with subquestion (y-scale) codes SQ001, SQ002, ...
x-scale codes X001, X002, ...

You see, a row is displayed if all fields of the previous row are filled.








Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Pièces jointes :

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 mois 1 jour #187880 par Jordyhaze
Hi,

Thanks for your response however I'm still having an issue.

I've tried doing what you advised however it's still showing all rows when I preview the question? Rather than one appearing after the one previous has been filled out completely.

What am I doing wrong here?

Thanks,

Jordan

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 mois 23 heures #187881 par Jordyhaze
Hi,

ignore my other response, just figured where I went wrong! Works perfectly now!

Thanks!

Jordan

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 mois 19 heures #187898 par Jordyhaze
Actually, last question!

Is there any formula that can be made so that a further question will only show if a certain word has been typed into the fourth scale ONLY, in either of the subquestions?

So this will be Q1_X004, but if for example the word I wanted to find is "Test"

How could that be written to allow a search in all of the fourth scale to see if this word is found?

Apologies for the numerous responses I'm still getting to grips with LimeSurvey and still learning the capabilities of it, if this were Excel I'd know exactly which formula to use, however with this I'm still learning.

Thanks,

J

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 mois 17 heures #187901 par Joffm
Please, read the manual
https://manual.limesurvey.org/Expression_Manager_-_presentation#Implemented_functions

There are a lot of string function like "strpos", "stripos", "strstr", "stristr" that you may use.

In your case you have to use question validation.
In the validation equation write something like
(stripos(Q0_SQ001_X004,"Test")>=0) OR (stripos(Q0_SQ002_X004,"Test")>=0) OR (stripos(Q0_SQ003_X004,"Test")>=0) OR (stripos(Q0_SQ004_X004,"Test")>=0)

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless

Connexion ou Créer un compte pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!