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?

More
10 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.
More
10 years 11 months ago #119139 by DenisChenu
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 support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
More
10 years 11 months ago #119141 by iscar

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.
More
10 years 11 months ago #119145 by DenisChenu
Single choice selector.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose