Home arrow Ondersteuning arrow Forums
LimeSurvey Forums
Welcome, Guest
Please Login or Register.    Lost Password?
[done] Specify answer for condition manually (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: [done] Specify answer for condition manually
#19461
klevotar (User)
Fresh Lemon
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
[done] Specify answer for condition manually 1 Month, 3 Weeks ago Karma: 0  
Hi,

How do I specify the answer for a condition manually, i.e. specify an answer that *isn't* in the list of answers shown in the condition window?

To explain, I am designing a survey as follows:

Q1: Asks user to choose their favorite of six images, or "None of them", from a dropdown menu.
Q2: Asks user to choose their favorite of six more images, or "None of them", from a dropdown menu.
Q3: Asks user to choose which of their two favorite images they like better from a dropdown menu. The user's reponses to Q1 and Q2 are inserted into the dropdown menu by means of {INSERTANS:#X#X1} and {INSERTANS:#X#X2}. If they selected "None of them" for Q1 and/or Q2, that's what is shown in the dropdown menu.
Q4: Continue with the survey, but only if their answer to Q3 is not "None of them."

The trouble is that when I try to set the condition for Q4, the only options under answer are {INSERTANS:#X#X1} and {INSERTANS:#X#X2}.

So how do I specify "None of them" manually? Rewrite conditions.php? Insert the answer into the database directly? Any other way?

Thanks,
Andrew
 
Logged Logged  
 
Last Edit: 2008/10/01 12:02 By Mazi.
  The administrator has disabled public write access.
#19464
izahn (User)
Fresh Lemon
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
Re:Specify answer for condition manually 1 Month, 3 Weeks ago Karma: 0  
Yeah, I'm having a similar problem. The manual says
When you have chosen a question the Answer section on the right hand side will display:

* the possible answers for that question (except for free text entry questions)
o Choose the answer that you want to use
* or a textbox where you can give a text that should match the answer

But I don't see any textbox, only a list of pre-defined answers. Please help!
Thanks,
Ista
 
Logged Logged  
  The administrator has disabled public write access.
#19483
Mazi (Moderator)
Moderator Lime
Posts: 3262
graph
User Offline Click here to see the profile of this user
Re:Specify answer for condition manually 1 Month, 3 Weeks ago Karma: 25  
izahn wrote:

But I don't see any textbox, only a list of pre-defined answers. Please help!

I think the text box is only shown when having a text question.

@klevotar: I can't think of any easy solution (although there might be one). Please check manual -> workarounds to get some inspiration how this might be solved.
 
Logged Logged  
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
  The administrator has disabled public write access.
#19498
izahn (User)
Fresh Lemon
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
Re:Specify answer for condition manually 1 Month, 3 Weeks ago Karma: 0  
OK, sorry for hijacking this thread. Apparently my problem is different. I don't get a text input box, no matter what kind of question I'm setting the condition by or for, and no matter what condition I want to set. I tried out the demo and discovered that there is supposed to be a text input area titled "Constant Value or Regular Expression" but this isn't showing up in my installation. I'm running version 1.71+ (5638) on OS X 10.5 with Apache 2, MySQL 5.0.51b and php 5.2.5. I've made extensive changes to the templates (and of course to the config file) but everything else should be standard. Any idea what's going on here or how I can diagnose the problem?

Thanks,
Ista
 
Logged Logged  
  The administrator has disabled public write access.
#19505
Mazi (Moderator)
Moderator Lime
Posts: 3262
graph
User Offline Click here to see the profile of this user
Re:Specify answer for condition manually 1 Month, 3 Weeks ago Karma: 25  
izahn wrote:
Any idea what's going on here or how I can diagnose the problem?
Please open a ticket at the bugtracker and add your survey. You can mark your ticket "private" so that only the developers will be able to take a look at it.

Afterwards please post the link to the bugtracker so we can follow the progress.

Maybe this field got lost when making some changes to the code.
 
Logged Logged  
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
  The administrator has disabled public write access.
#19512
izahn (User)
Fresh Lemon
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
Re:Specify answer for condition manually 1 Month, 3 Weeks ago Karma: 0  
OK, thanks. I've reported it here: bugs.limesurvey.org/view.php?id=2520

-Ista
 
Logged Logged  
  The administrator has disabled public write access.
#19530
izahn (User)
Fresh Lemon
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
Re:Specify answer for condition manually 1 Month, 3 Weeks ago Karma: 0  
Thibault responded to the bug report, saying that the developers are aware of the issue and that it is already fixed in the current development code for the 1.8 release.
 
Logged Logged  
  The administrator has disabled public write access.
#19536
Mazi (Moderator)
Moderator Lime
Posts: 3262
graph
User Offline Click here to see the profile of this user
Re:Specify answer for condition manually 1 Month, 3 Weeks ago Karma: 25  
This bug is fixed in the soon-to-come 1.8 release. There will probably be a first release candidate in mid october.
 
Logged Logged  
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
  The administrator has disabled public write access.
Go to top