change the registration form questions

More
3 years 10 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 :(

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
3 years 10 months ago - 3 years 10 months ago #126359 by first
At the bottom of the template.js file you will find below code.
$(document).ready(function(){
 
});
Change it to:
$(document).ready(function(){
    $('label[for="register_firstname"]').text('Nickname');
    $('label[for="register_lastname"]').text('State');
});

Survey Designer and Programmer
Last edit: 3 years 10 months ago by first. Reason: typo
The following user(s) said Thank You: tpartner, keunes, SashaNS

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #136462 by keunes
I hid the last name field with the following code in template.js (LS 2.50+ build 160512):
$(document).ready(function(){
$('label[for="register_lastname"]').hide();
$('input[id="register_lastname"]').hide();
});

Same one can do for `register_firstname`

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #136497 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 .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!