Welcome to the LimeSurvey Community Forum

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

How to check the type and re-type are the same ?

  • mrli999
  • mrli999's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 1 week ago #107394 by mrli999
There is one question ask the respondent to fill his/her email. Followed with another question ask the respondent to re-type his/her email.

How to check whether the answer to those two questions are the same?

Thanks.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 1 week ago #107397 by DenisChenu
Replied by DenisChenu on topic How to check the type and re-type are the same ?

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 following user(s) said Thank You: mrli999
The topic has been locked.
  • mrli999
  • mrli999's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 1 week ago #107401 by mrli999

DenisChenu wrote: mrli999 : please read the manual .... and look at extended setting of question ....

manual.limesurvey.org/Question_type_-_Sh...8em_validation_sq.29
manual.limesurvey.org/Question_type_-_Mu...8em_validation_sq.29


question one: firstemail
question two: secondemail, in this question I set question validation equation to 'secondemail=firstemail', set question valiation tip to '{if(secondemail!=firstemail,'not the same','')}'


But when I begin to input email in question one, questin two begin to display 'not the same'. Is it possible that after I input email in question two, the system begin to validation?

Many many thanks.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 1 week ago - 10 years 1 week ago #107405 by DenisChenu
Replied by DenisChenu on topic How to check the type and re-type are the same ?
secondemail==firstemail : 2 = : see manual.limesurvey.org/Expression_Manager...t_Operator_.28.3D.29

A?Nd for the question:
Code:
{if(secondemail!=firstemail and !is_empty(secondemail),'not the same','')}'

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.
Last edit: 10 years 1 week ago by DenisChenu.
The following user(s) said Thank You: mrli999
The topic has been locked.
  • mrli999
  • mrli999's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 1 week ago #107412 by mrli999

DenisChenu wrote: secondemail==firstemail : 2 = : see manual.limesurvey.org/Expression_Manager...t_Operator_.28.3D.29

A?Nd for the question:

Code:
{if(secondemail!=firstemail and !is_empty(secondemail),'not the same','')}'


It seems work.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose