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
10 years 7 months ago - 10 years 7 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: 10 years 7 months ago by lamjas.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 7 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
9 years 3 weeks 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
9 years 3 weeks 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.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
9 years 3 weeks 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 support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose