- Posts: 7
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Registration form
- lamjas
- Topic Author
- Offline
- New Member
Less
More
9 years 5 months ago - 9 years 5 months ago #114112
by lamjas
Registration form was created by lamjas
Hi,
(1) In the registration form, how to remove First Name and Last Name fields? I know they are not required fields. But, I want to make participants feel that the survey is anonymous.
(2) After the registration, is it possible to show the survey link immediately instead of asking participants to check and activate the survey from the email? As my research is longitudinal and I need to identify the participants in different waves, the workaround using two surveys (forwarding the second survey after filling out the email address in the first survey) does not work for me.
Thanks!!
(1) In the registration form, how to remove First Name and Last Name fields? I know they are not required fields. But, I want to make participants feel that the survey is anonymous.
(2) After the registration, is it possible to show the survey link immediately instead of asking participants to check and activate the survey from the email? As my research is longitudinal and I need to identify the participants in different waves, the workaround using two surveys (forwarding the second survey after filling out the email address in the first survey) does not work for me.
Thanks!!
Last edit: 9 years 5 months ago by lamjas.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10108
- Thank you received: 3593
9 years 5 months ago #114119
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 Registration form
1) Add this to the end of template.js:
2) Sorry, don't know.
.
Code:
$(document).ready(function(){ if($('.register-form-table').length > 0) { $('tr.register-form-fname, tr.register-form-lname').hide(); } });
2) Sorry, don't know.
.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: keunes
The topic has been locked.
- keunes
- Offline
- Junior Member
Less
More
- Posts: 29
- Thank you received: 2
7 years 11 months ago #136463
by keunes
Replied by keunes on topic Registration form
I hid the last name field with the following code in template.js (LS 2.50+ build 160512):
Same can be done for [tt]register_firstname[/tt]
Code:
$(document).ready(function(){ $('label[for="register_lastname"]').hide(); $('input[id="register_lastname"]').hide(); });
The topic has been locked.
- holch
- Away
- LimeSurvey Community Team
Less
More
- Posts: 11658
- Thank you received: 2742
7 years 11 months ago #136483
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 Registration form
Why would (2) not work for you? You can always also pass on an ID from the registration survey.
And your approach at (1) is at least a little sneaky. Because you collect the email address, so your survey is not really anonymous. It is almost impossible to have longitudinal surveys with the same respondents and the need to compare the results over time and being really anonymous.
And your approach at (1) is at least a little sneaky. Because you collect the email address, so your survey is not really anonymous. It is almost impossible to have longitudinal surveys with the same respondents and the need to compare the results over time and being really anonymous.
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.
- DenisChenu
- Away
- LimeSurvey Community Team
Less
More
- Posts: 13643
- Thank you received: 2491
7 years 11 months ago #136495
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 Registration form
Hi,
Plugin event beforeTokenEmail
github.com/LimeSurvey/LimeSurvey/blob/ma...rController.php#L248
Just do a redirect to the survey.
Denis
Plugin event beforeTokenEmail
github.com/LimeSurvey/LimeSurvey/blob/ma...rController.php#L248
Just do a redirect to the survey.
Denis
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.