Is there a way to fix a length of a response. I am trying to limit my numeric input to 5 characters with strlen(QuestionCode) == 5 but it is showing error.
This may depend on the type of question. Some question types give you the option of specifying the max number of charaters that can be used. Look in advanced options of the question.
Tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The following user(s) said Thank You: anuragkh1711
Where did you put strlen(QuestionCode) == 5 ? And what is the question type + code(s)
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 following user(s) said Thank You: anuragkh1711
Sometimes, i prefer to use real question code : it must work not QuestionCode but THE code/title of the question.
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 following user(s) said Thank You: anuragkh1711