- Posts: 116
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Is adding javascript code to question text only for admin ?
- stevelegare
- Topic Author
- Offline
- Premium Member
Less
More
9 years 4 months ago #113765
by stevelegare
Is adding javascript code to question text only for admin ? was created by stevelegare
Can you tell me if only admin can add javascript code to question text? If not, can you tell me what rights do I have to set.
Thanks.
Thanks.
The topic has been locked.
- DenisChenu
- Away
- LimeSurvey Community Team
Less
More
- Posts: 13910
- Thank you received: 2546
9 years 4 months ago #113787
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Is adding javascript code to question text only for admin ?
Hi,
manual.limesurvey.org/Global_settings#Security
Filter HTML for XSS: By default your survey manager will not be authorized to use dangerous HTML tags in their survey/group/question/labels texts (for instance JavaScript code). This is intended to prevent a survey operator to add malicious script in order to have a true admin raise his permissions on the system. If you want to use any script objects like Javascript scripts of Flash applets in your surveys you will need to switch this off (Specific script for video hoster can be used). The XSS filtering is always disabled for the superadministrator. In order to see the effects of XSS filtering, it is advised to use a regular user account.
manual.limesurvey.org/Global_settings#Security
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3691
9 years 4 months ago #113801
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Is adding javascript code to question text only for admin ?
Some more info -
manual.limesurvey.org/Workarounds:_Manip....29_in_LimeSurvey.3F
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- stevelegare
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 116
- Thank you received: 0
9 years 4 months ago #113808
by stevelegare
Replied by stevelegare on topic Is adding javascript code to question text only for admin ?
Thanks to both of you for your quick answer.
The topic has been locked.