- Posts: 37
- Thank you received: 4
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Upload additional JavaScript file for global use
- kmanapp
- Topic Author
- Offline
- Junior Member
Less
More
9 years 2 weeks ago #117872
by kmanapp
Upload additional JavaScript file for global use was created by kmanapp
Dear friends,
Reading the manual at the location below, it suggests "download the plugin latest JavaScript and save it as jquery.meiomask.js in the template folder", I found that LimeSurvey prohibits it and shows "This filename is not allowed to be uploaded"
Please advise on how can can I upload any JavaScript file via LimeSurvey front-end? Or, I have to go into back-end for uploading to relevant path?
manual.limesurvey.org/Workarounds:_Manip...ipt#Text_input_masks
Thanks in advance!
Reading the manual at the location below, it suggests "download the plugin latest JavaScript and save it as jquery.meiomask.js in the template folder", I found that LimeSurvey prohibits it and shows "This filename is not allowed to be uploaded"
Please advise on how can can I upload any JavaScript file via LimeSurvey front-end? Or, I have to go into back-end for uploading to relevant path?
manual.limesurvey.org/Workarounds:_Manip...ipt#Text_input_masks
Thanks in advance!
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11746
- Thank you received: 2750
9 years 2 weeks ago #117877
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Upload additional JavaScript file for global use
What do you mean with Limesurvye Front-end and back-end? For me LS front-end would mean the surveys and backend would mean the administration. But uploading a Javascript in the frontend wouldn't make any sense...
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10612
- Thank you received: 3691
9 years 2 weeks ago #117882
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 Upload additional JavaScript file for global use
Normally, I would FTP that file up to the template directory. If FTP is not available, you can simply add all of the contents of jquery.meiomask.js to the beginning of template.js.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- kmanapp
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 37
- Thank you received: 4
9 years 2 weeks ago #117885
by kmanapp
Replied by kmanapp on topic Upload additional JavaScript file for global use
Well, thanks tpartner! That's a great work around the issue!
holch:
The "front-end" means via normal LimeSurvey web interface/screeen. The "back-end" means upload files via SFTP (for all operation system) or WinSCP (for Windows system) technology to the template folder ( e.g. for using LimeSurvey build-in template : "/path/to/limesurvey/templates" or for customized template: "/path/to/limesurvey/upload/template/" )
holch:
holch wrote: What do you mean with Limesurvye Front-end and back-end? For me LS front-end would mean the surveys and backend would mean the administration. But uploading a Javascript in the frontend wouldn't make any sense...
The "front-end" means via normal LimeSurvey web interface/screeen. The "back-end" means upload files via SFTP (for all operation system) or WinSCP (for Windows system) technology to the template folder ( e.g. for using LimeSurvey build-in template : "/path/to/limesurvey/templates" or for customized template: "/path/to/limesurvey/upload/template/" )
The topic has been locked.