Welcome to the LimeSurvey Community Forum

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

Registration form

  • lamjas
  • lamjas's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 4 months ago - 9 years 4 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!!
Last edit: 9 years 4 months ago by lamjas.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 4 months ago #114119 by tpartner
Replied by tpartner on topic Registration form
1) Add this to the end of template.js:
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.
More
7 years 9 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):
Code:
$(document).ready(function(){
  $('label[for="register_lastname"]').hide();
  $('input[id="register_lastname"]').hide();
});
Same can be done for [tt]register_firstname[/tt]
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 9 months ago #136483 by holch
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.

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
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 9 months ago #136495 by DenisChenu
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

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.

Lime-years ahead

Online-surveys for every purse and purpose