Welcome to the LimeSurvey Community Forum

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

how to design multi suffix for 1 question?

  • iscar
  • iscar's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
8 years 11 months ago #119120 by iscar
how long have you spent on make decision?
the participant answer could be various, the suffix could be sencond, minitute, week, year.
i creat a text or number type question, if the suffix is second, the partipant take 1 week will input 604800,it's not a good solution.
how to creat multi suffix to let partcipant select?
the answer will be calculated to time period in next equation.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 11 months ago #119139 by DenisChenu
Replied by DenisChenu on topic how to design multi suffix for 1 question?
Firt question:
SUFFIX : choice sec=>Second,min=>Minute,hou=>Hour
2nd question
NUMBER : Numeric

Equation : If you want seconds : sum(NUMBER*(SUFFIX=="sec"),NUMBER*60*(SUFFIX=="min"),NUMBER*60*60*(SUFFIX=="hou")

Denis

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.
  • iscar
  • iscar's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
8 years 11 months ago #119141 by iscar
Replied by iscar on topic how to design multi suffix for 1 question?

Firt question:
SUFFIX : choice sec=>Second,min=>Minute,hou=>Hour

how to set 3 suffix in 1 question and partcipant can select which suffix to use?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 11 months ago #119145 by DenisChenu
Replied by DenisChenu on topic how to design multi suffix for 1 question?
Single choice selector.

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