- Posts: 1
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
change the registration form questions
- xerex
- Topic Author
- Offline
- New Member
Less
More
8 years 7 months ago #126280
by xerex
change the registration form questions was created 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
I'm using LS Versión 2.05+ Build 140717
Template Skeletonquest
I have no idea about progamming
The topic has been locked.
- first
- Offline
- Elite Member
Less
More
- Posts: 227
- Thank you received: 36
8 years 7 months ago - 8 years 7 months ago #126359
by first
Survey Designer and Programmer
Replied by first on topic change the registration form questions
At the bottom of the template.js file you will find below code.
Change it to:
Code:
$(document).ready(function(){ });
Code:
$(document).ready(function(){ $('label[for="register_firstname"]').text('Nickname'); $('label[for="register_lastname"]').text('State'); });
Survey Designer and Programmer
Last edit: 8 years 7 months ago by first. Reason: typo
The following user(s) said Thank You: tpartner, keunes, SashaNS
The topic has been locked.
- keunes
- Offline
- Junior Member
Less
More
- Posts: 29
- Thank you received: 2
7 years 11 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):
Same one can do for `register_firstname`
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13675
- Thank you received: 2496
7 years 11 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 , plugin development .
I don't answer to private message.
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.