- Posts: 7
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
In DB it saved like a number.tpartner wrote: Yes, in my opinion, definitely a bug. Leading zeros are being ignored by Expression manager in numeric questions when the input value has more than one character. (I see the same with a short-text question set to "Numbers only")
Please file a bug report and...
- Give as much information as possible.
- Provide step-by-step instructions how to reproduce the problem.
- Provide screenshots and/or a sample survey.
- Post the link to the bug here so we can follow the progress.
// (javascript) Send real value entered when using Numeric question type in Expression Manager : 0 : {NUMERIC} with bad caracters send '', 1 : {NUMERIC} send all caracters entered $config['bNumRealValue'] = 0;
preg_match ('/^[0-9]{2}$/",01)==false