Welcome to the LimeSurvey Community Forum

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

change the registration form questions

More
8 years 6 months ago #126280 by xerex
I need to change the registration form in a "non anonimous" survey, deleting the Name and Surname field or changing them into Nickname and State, but keeping the email field as is... is it possible?

I'm using LS Versión 2.05+ Build 140717
Template Skeletonquest
I have no idea about progamming :(
The topic has been locked.
More
8 years 6 months ago - 8 years 6 months ago #126359 by first
Replied by first on topic change the registration form questions
At the bottom of the template.js file you will find below code.
Code:
$(document).ready(function(){
 
});
Change it to:
Code:
$(document).ready(function(){
    $('label[for="register_firstname"]').text('Nickname');
    $('label[for="register_lastname"]').text('State');
});

Survey Designer and Programmer
Last edit: 8 years 6 months ago by first. Reason: typo
The following user(s) said Thank You: tpartner, keunes, SashaNS
The topic has been locked.
More
7 years 10 months ago #136462 by keunes
Replied by keunes on topic change the registration form questions
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 one can do for `register_firstname`
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 10 months ago #136497 by DenisChenu
Replied by DenisChenu on topic change the registration form questions

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