Portada arrow Soporte arrow Forums
LimeSurvey Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Re:multiple question validation work around (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Re:multiple question validation work around
#15575
sdelaney (User)
Fresh Lemon
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
[done] multiple question validation work around 4 Months, 3 Weeks ago Karma: 0  
Does the multiple question validation work around listed here work with 1.71+ build 5203?

I tried the example listed here,

docs.limesurvey.org/tiki-index.php?page=..._Question_Validation

but after I save the question the <script> and </script> tags disappear.
 
Logged Logged  
 
Last Edit: 2008/07/07 14:35 By Mazi.
  The administrator has disabled public write access.
#15576
c_schmitz (Admin)
Moderator Lime
Posts: 1356
graphgraph
User Online Now Click here to see the profile of this user
Re:multiple question validation work around 4 Months, 3 Weeks ago Karma: 39  
You will have to deactivate the XSS filter in config.php to be able to use javascript.
 
Logged Logged  
 
Best regards

Carsten Schmitz
LimeSurvey Project Leader
  The administrator has disabled public write access.
#15577
sdelaney (User)
Fresh Lemon
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Re:multiple question validation work around 4 Months, 3 Weeks ago Karma: 0  
That was fast!

If I deactivate the filter, does that make my site very vunerable to exploit?
 
Logged Logged  
  The administrator has disabled public write access.
#15663
Mazi (Moderator)
Moderator Lime
Posts: 3262
graph
User Offline Click here to see the profile of this user
Re:multiple question validation work around 4 Months, 2 Weeks ago Karma: 25  
In general the filter was implemented to improve security. Depending on your question types this doesn't have to be a security risk as long as the user hasn't got the opportunity to enter text.

Nevertheless switching this filter off doesn't make your system vulnerable in general.
 
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