Accueil
LimeSurvey Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Re:[done] Condition question using token (1 viewing) (1) Guest
Go to bottom Favoured: 1
TOPIC: Re:[done] Condition question using token
#13412
rodbro (User)
Senior Lime
Posts: 43
graphgraph
User Offline Click here to see the profile of this user
Re:[done] Condition question using token 4 Months, 4 Weeks ago Karma: 0  
Hey there

Thank you very much!

Kenneth Larsen
 
Logged Logged  
  The administrator has disabled public write access.
#19088
sunnyd71 (User)
Fresh Lemon
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Re:[done] Condition question using token 2 Weeks, 6 Days ago Karma: 0  
Hello,

I have been attempting your workaround with no luck. I made sure to modify these lines with the info for my question.

document.getElementById("question987".style.display='none';
document.getElementById('answer51965X95X9871'.checked='true';
document.getElementById('answer51965X95X9877'.checked='true';

But no luck. I have it set on question by question. Any ideas?


Also, is it only checking the first letter of the "token" or can we set it to check other attributes such as "Attribute 1"?

Thanks.
 
Logged Logged  
  The administrator has disabled public write access.
#19089
ElMatador69 (Moderator)
LimeSurvey Team
Posts: 1547
graphgraph
User Offline Click here to see the profile of this user
Re:[done] Condition question using token 2 Weeks, 6 Days ago Karma: 30  
Did you set the correct SGQA Identifier:
http://docs.limes...g/tiki-index.php?page=SGQA+Identifier
 
Logged Logged  
 
Get in touch with the LimeSurvey Development Team via IRC
If our informations and answers were useful to you, please consider a donation to the LimeSurvey Project!
  The administrator has disabled public write access.
#19091
sunnyd71 (User)
Fresh Lemon
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Re:[done] Condition question using token 2 Weeks, 6 Days ago Karma: 0  
yes I double checked that. It seems to have worked once, but now it will not let me access the survey at all. I can go to the admin panel but if I open the survey it just says Waiting for response from my domain with a blank screen.

Thanks
 
Logged Logged  
  The administrator has disabled public write access.
#19115
Mazi (Moderator)
Moderator Lime
Posts: 2794
graph
User Offline Click here to see the profile of this user
Re:[done] Condition question using token 2 Weeks, 6 Days ago Karma: 20  
Check out "How to use Script (eg. JavaScript etc.)":
FIRST, some info from config-default.php:
//$filterxsshtml
// Enables filtering of suspicious html tags in survey, group, questions
// and answer texts in the administration interface
// Only set this to false if you absolutely trust the users
// you created for the administration of LimeSurvey and if you want to
// allow these users to be able to use Javascript etc. .
$filterxsshtml = true;

Follow these steps:
In config.php add $filterxsshtml = false; (maybe as a last line before ?>.
 
Logged Logged  
 
Beste Grüße/Best regards,
Mazi
______________________
You can support Limesurvey, too!
  The administrator has disabled public write access.
#19395
sunnyd71 (User)
Fresh Lemon
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Re:[done] Condition question using token 1 Week, 6 Days ago Karma: 0  
Thank you for all of the assistance.

I have the survey up and running with javascript but am still having problems getting this workaround to work.

I have attached the message and some code, it would not let me enter it here even using a code block.
File Attachment:
File Name: Post.txt
File Size: 3999
 
Logged Logged  
 
Last Edit: 2008/09/28 23:43 By sunnyd71.
  The administrator has disabled public write access.
Go to top