Welcome to the LimeSurvey Community Forum

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

How to ask participants to complete their information?

  • majidr
  • majidr's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 10 months ago #201108 by majidr
Hi,

I'm going to conduct a survey on my university's students. I imported their Student ID as access code, so only authorized students with access code can participate. However, I want them to complete their Name, Last name and especially email address, then they start survey. The only solution I'm thinking of is to insert a text box, and ask them to insert their name and email which is not the best approach since as far as I know, this approach won't update participant's profile.
Is there any simple way to do this?
Thanks
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #201109 by Joffm
Do I understand correctly?

You uploaded your participants with some dummy credentials and their StudentID as token.
Now you want to update this participant table with the entered name and email of the survey.

To achieve this you use the plugin
"updateTokenByResponse

"
gitlab.com/SondagesPro/TokenManagement/updateTokenByResponse

Having installed it you select "Simple Plugins"


and enter the QCode of the fields that you want to update.
Like this


Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • majidr
  • majidr's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 10 months ago #201111 by majidr
Thank you for your prompt reply.
Yes, it is most probably what I'm looking for, however, I couldn't try it. I tried to install it through ftp and also plugin manager and both ended up with no success. I unpacked it in plugin folder but I couldn't find it in plugin manager nor in simple plugin settings. I tried to install using plugin manager, and after uploading the zip file, it showed a warning that config.xml is missing.
Would you please help me how to install it ?
Thanks in advance
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago - 3 years 10 months ago #201117 by Joffm
Maybe there is one small misunderstanding.

After you downloaded the file and expanded it,
the name of the folder is "updateTokenByResponse-master"

You have to rename it to "updateTokenByResponse".

The folder has to have the same name as the included main php file "updateTokenByResponse.php"

And you only upload the folder with the php file and the folder "views", not the surrounding other folder.


Meaning: You upload:

updateTokenByResponse
-- updateTokenByResponse.php
-- LICENSE
-- views (folder)

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 years 10 months ago by Joffm.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • majidr
  • majidr's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 10 months ago - 3 years 10 months ago #201120 by majidr
Dear Joffm

Thank you for your reply and explanation. Yes, this is exactly what I did. After downloading, I removed the 'master' from the name and uploaded the folder in plugin folder. The folder only contained three files; a folder "view", a php file and License file. There were no other surrounding other files in downloaded file. After uploading I couldn't find it in plugin manager nor in simple plugin. I'm using limesurvey v.4.2. I really need this plugin, is there any alternative in case it is not compatible?

Here are the screenshots of what I did. I also tried to install through plugin manager, and it shows a missing config.xml warning.
Thanks in advance

https://ibb.co/D4drWyW
https://ibb.co/Ws97KnZ
https://ibb.co/jk5BVSh
https://ibb.co/vYMnwvn
https://ibb.co/3cB93g3
https://ibb.co/y6zS1Tt
https://ibb.co/3cB93g3
Last edit: 3 years 10 months ago by majidr.
The topic has been locked.
  • majidr
  • majidr's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 10 months ago #201124 by majidr
Dear Joffm

I'm still struglling with installing the plugin...would you please let me know if I'm doing something wrong ?

Thank you
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #201126 by Joffm
Hi,

I'm using limesurvey v.4.2.

My mistake.
Usually our first question is "which version?"
But I assumed that you were not using 4.x. in a productive environment. We do not recommend this as 4.x still has too many bugs.

So I talked about 3.x.

And the missing config.xml

Once I only took a config.xml of another plugin (also DenisChenu) and adapted it.
You see it doesn't contain anything important except the compatibility
Code:
<?xml version="1.0" encoding="UTF-8"?>
<config>
    <metadata>
        <name>arrayTextAdapt</name>
        <type>plugin</type>
        <creationDate>2016-06-06</creationDate>
        <lastUpdate>2019-02-19</lastUpdate>
        <author>Denis Chenu</author>
        <authorUrl>https://extensions.sondages.pro/questions-updating-and-managing/arraytextadapt/</authorUrl>
        <supportUrl>https://www.sondages.pro/contact</supportUrl>
        <version>2.0.1</version>
        <license>GNU Affero General Public License v3.0</license>
        <description><![CDATA[A LimeSurvey plugin to update array text question with some dropdpown.]]></description>
    </metadata>
 
    <compatibility>
        <version>3.0</version>
    </compatibility>
</config>

I will have a look regarding 4.x.

I really need this plugin, is there any alternative in case it is not compatible?

The procedure without plugin is easy, but of course with plugin it's more comfortable.

The respondents enter their names and email address (by the way, don't you know their names if you have their student ID?)
After the first wave you export the data, merge ID, name and email (easy done in EXCEL) and you have a participants table with all information which you upload again.
In the second wave you may prefill these fields in the survey, so the respondents only have to enter changes. Let the survey check if there was changed something.
Then you only need to update changed records.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #201129 by Joffm
I saw that in my 4.x installatiomn I added this config.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<config>
    <metadata>
        <name>updateTokenByResponse</name>
        <type>plugin</type>
        <creationDate>2015-10-06</creationDate>
        <lastUpdate>2019-12-01</lastUpdate>
        <author>Denis Chenu</author>
        <authorUrl>https://www.sondages.pro</authorUrl>
        <version>1.7.0</version>
        <license>GNU Affero General Public License v3.0</license>
        <description><![CDATA[Use upload question type to create a pdf report, replace print pdf, save it as report in survey file and send it by email.]]></description>
    </metadata>
 
    <compatibility>
        <version>4.0</version>
        <version>3.0</version>
        <version>2.73</version>
    </compatibility>
</config>

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: majidr
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #201476 by DenisChenu
@Joffm : i'm really happy to have a pull request for updateTokenByResponse

But are you sure it work ?

Currently a lot of my plugins are broken
- All that use getQuestionInformation ( i10n table)
- All usage of question attribute (LimeSurvey 4 issue)

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.
  • majidr
  • majidr's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 10 months ago #201541 by majidr
Dear Joffm

It worked. I'm so grateful for your help.
The topic has been locked.
More
2 years 11 months ago #215380 by hoepner
Hi everyone.
I tried to install this Plugin also in Version 4x.
It installed without any error messages. I activated it and now I wanna use it but it did´nt show up on the simple plugin page.
Did I miss something?

Thank you.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 11 months ago #215383 by Joffm
Hm, obviously you missed something.

To use it in LS 4.x. I added a config.xml to the folder. I used one of the others available in the plugin folder.
Compatibility has to be set to "4.0", or higher.

Then I scanned the files, activated it and got this.

 
 
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose