Welcome to the LimeSurvey Community Forum

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

limesurvey 4.x make mandatory firstname and lastname fields at registration

  • alejandroarredondo
  • alejandroarredondo's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 11 months ago #215668 by alejandroarredondo
Hi,

I'm setting up a survey and I want the users to register. But I have noticed that the firstname and lastname are not mandatory and there is no way to make them mandatory from the admin section. Also I want them to verify their email. I was going to disable registration and ask in the survey for the names I want to be mandatory. But that would disable email verification also.

How can I solve it?
best regards,
Alejandro
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 11 months ago #215687 by Joffm
Hi,
in the "register_form.twig" you see these difference between "firstname", "lastname" and "email"
 

Add these two parts to "firstname" and "lastname" and all are required.
 

I have no clue how to insert an email vrification here.

If you ask these in your survey the email verification is quite simple.
Ask all these questions in an question of type "multiple short text" and do a validation like
Q1_SQ003.NAOK==Q1_SQ004.NAOK"

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose