Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Signature pad

  • baxterdmutt
  • baxterdmutt's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
1 year 1 month ago #252058 by baxterdmutt
Signature pad was created by baxterdmutt
Please help us help you and fill where relevant:
Your LimeSurvey version: [see right hand bottom of your LimeSurvey admin screen]
Own server: 6.2.9+230925
Survey theme/template fruity
==================
Hello,
I was trying to use this theme addon (so not really a plugin). It’s supposed to allow a user to add a signature area into the survey:
github.com/adamzammit/LimeSurvey-Signature-Question/

It seems to install fine and you’d think it would work but because of the changes in V6 I think somethings prevents it:. 
According to the instruction I’m to create a short text question and then change the theme to the “signature” theme that is installed. But it no longer works that way. There is no place for me to change the questions theme. Instead there is now a “Signature pad” question type. But when I choose it I just get a short text question. 
I think the issue it the way 6 no longer seems to allow an individual question to have its own theme. At least I can’t find that choice. 
 

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 1 month ago - 1 year 1 month ago #252077 by Joffm
Replied by Joffm on topic Signature pad
Hi,

Instead there is now a “Signature pad” question type.

Yes, all previous (core and third party) question themes are moved to "Selection of question type".
Here some examples of these question types.
 


In my opinion better to have everything in one place.
And for some new users it was a bit difficult to guess that "Interest-points" is a text question and "Social Value Orientation" is a "single" question.

Well, the signature pad.
Did you enter into the correct folder?
 
Did you install it?
 

Doing this I see only one issue
 
The display of the base64 code of the image.
This is hidden by the css class "hidden", but in bootstrap 5 you use "d-none". So in LS 6.x. it is not hidden.
But with
Code:
<style>
.form-control { display:none; }
</style>

you solve this.

Best regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 1 year 1 month ago by Joffm.

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 1 month ago - 1 year 1 month ago #252079 by tpartner
Replied by tpartner on topic Signature pad

This is hidden by the css class "hidden", but in bootstrap 5 you use "d-none". So in LS 6.x. it is not hidden.
But with
Code:
<style>
.form-control { display:none; }
</style>

you solve this.
Maybe you should add it to your custom.css file so it covers all instances of the deprecated .hidden class.

Code:
.hidden {
    display: none !important;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 1 year 1 month ago by tpartner.
The following user(s) said Thank You: Joffm

Please Log in to join the conversation.

  • baxterdmutt
  • baxterdmutt's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
1 year 1 month ago - 1 year 1 month ago #252102 by baxterdmutt
Replied by baxterdmutt on topic Signature pad
Yes it's installed:
and no it doesn't work.
I tried adding what you suggested to the custom.css and it makes no difference. 
It's not the viewing of the signature that is the problem. It's that the place to enter it remains a text entry field.
 
Last edit: 1 year 1 month ago by baxterdmutt.

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 1 month ago #252166 by tpartner
Replied by tpartner on topic Signature pad
This also works for me but, as Joffm indicates, even if it appears to be installed, you must ensure that you have the correct file structure.

You cannot install directly from the downloaded LimeSurvey-Signature-Question-main.zip file. You must extract that and then create zip of the contained "signature" file.

So, the file that you will install from looks like this:
 

After installation, you should have a file structure like this:
 

If it still does not work, do you run any other JavaScript on the page? Check the console (F12) for JavaScript errors.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

  • baxterdmutt
  • baxterdmutt's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
1 year 1 month ago - 1 year 1 month ago #252186 by baxterdmutt
Replied by baxterdmutt on topic Signature pad
Ok! It Works!
Giving me the directory structure helped. When I place the zipi nto the upload/theme/question directory and then unzipped it, it created an extra “signature” directory. So I ended up with upload/themes/question/signature/signature/….
I moved everything back to the first signature directory and it works.
This isn’t something I did. I believe it’s the zip file because I unzipped it in the right place.
Thanks everyone for helping.
Last edit: 1 year 1 month ago by baxterdmutt. Reason: Spelling

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose