Compare value between two Questions

Mehr
1 Jahr 6 Monate her #162735 von apoggio
Hello,

I've two question:
sa05 which is a drop down list with numerical values between 1 and 14
sa07 which is a numerical input, integer between 1 an 14

I want as validation equation that the number entered in sa07 is smaller that what has been choosen in sa05

The following expression works fine:{sa07 > 3}
But I do not find the correct syntax for this :{sa05 > sa07}

Thank you for your help

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

LimeSurvey Partners
Mehr
1 Jahr 6 Monate her #162737 von holch
This should work. Where do you use this? I would guess that you need to have if in a following "page" to sa07 for it to work, but I am not sure.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Jahr 6 Monate her - 1 Jahr 5 Monate her #162741 von apoggio
Hello find attached the survey.

It is use in the Question evaluation expression.
I also used it in the text of the question to see the result.
Letzte Änderung: 1 Jahr 5 Monate her von holch.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Jahr 5 Monate her #162765 von apoggio
Hello, any one as an idea why the syntax is not working?

Thx

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Jahr 5 Monate her #162776 von jelo
Perhaps the English forum is not the right place for attaching a complete survey in French.

You might create a two question survey with your issue and attach that here.
You should mention the version/build of your LimeSurvey version.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Jahr 5 Monate her #162778 von holch
We are all doing this in our spare time and voluntarily. So sometimes it takes a little longer. I will have a look at it, should I have some time.

But as Jelo says, an all french survey is sometimes difficult here, because we don't all speak french. Will see if I can get my way around.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Jahr 5 Monate her #162779 von apoggio
Hello Thanks,

Is there a way I can remove the survey in my posts?

Regarding the question I've found that it does not work because one in a number the other a String.

Is there a way to convert the string to number?

Regards

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Jahr 5 Monate her #162782 von holch
You should be able to go to "action" and "edit". there you can delete attachements. I have done this for you now.

Regarding the question I've found that it does not work because one in a number the other a String.


That is what I expected.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
Folgende Benutzer bedankten sich: apoggio

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Jahr 5 Monate her #162785 von apoggio
Thank you also for your time and reply.

I've found my issue.

I was relating to the Answer Code with my formula.
The code was a String.
This is the reason why it was not working.

I've changed the sa05.'Code' to numerical value and it works fine.
Here are the tests I've done:

answer sa05.shown : 5
answer sa05 : 6
Formula sa07 > 3 :true
Formula is_numeric(sa05): true ---> it is true now that I've changed the code values before (A1), now (1)
Formula validation sa07< sa05 (sa05.Code) :false
Formula is_numeric(sa05.shown) : true

I use the sa05.Code because I have the first value in the list which is '<1'

Thanks again to all your answers

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Jahr 5 Monate her #162805 von jelo

holch schrieb: You should be able to go to "action" and "edit". there you can delete attachements.

You're not a normal user like apoggio or me. We can only edit post for a limited amount of time (perhaps 30 or 60 minutes). After that the edit function is gone.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Jahr 5 Monate her #162806 von holch
So you are saying I am not normal???

;-)

That's why I deleted the file on his request. As I didn't know if he can (or still can), I did it already. But good to know.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha