Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Comparing answer to a known and flagging if an outlier

Comparing answer to a known and flagging if an outlier 4 years 8 months ago #77518

  • mark01
  • mark01's Avatar
  • Offline
  • Expert Lime
  • Posts: 91
  • Thank you received: 1
  • Karma: 0
I collect product pricing data. If a product costs 25.65 and a person enters 2.56 in error, is there a way to not accept the answer and have an error message like "This doesn't look correct - please check".
I would need to build in error bands around the price.
Is this possible in EM or non-EM Limesurvey?
Any suggestions?
Regards
The administrator has disabled public write access.

Comparing answer to a known and flagging if an outlier 4 years 8 months ago #77519

  • Steve01
  • Steve01's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 493
  • Thank you received: 47
  • Karma: 17
Hello,

you can use the "Question validation equation" and "Sub-question validation equation" to use an Expression that defines if an input is correct or not. I think it might be difficult to realize there is missing one number but you might be able to solve this if you compare the input with a fixed minimum and maximum value (e.g. "Price.valueNAOK > 20.00 && Price.valueNAOK < 50.00").
Mit freundlichen Grüßen/Best regards,

Stefan Gohlke
LimeSurvey Team
The administrator has disabled public write access.
The following user(s) said Thank You: mark01

Comparing answer to a known and flagging if an outlier 4 years 8 months ago #77544

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6029
  • Thank you received: 373
  • Karma: 260
mark wrote:
I collect product pricing data.
Out of curiosity, what do you collect this data for? Are there several people scanning online stores or "real" shops to create a large price comparison DB?

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"
The administrator has disabled public write access.

Comparing answer to a known and flagging if an outlier 4 years 8 months ago #77561

  • mark01
  • mark01's Avatar
  • Offline
  • Expert Lime
  • Posts: 91
  • Thank you received: 1
  • Karma: 0
I have a client who wants to price his product competitively - he has researchers who poll various shops every week and submit prices for about 50 products - they then price accordingly.
I want to use LS to get this data.
The administrator has disabled public write access.

Comparing answer to a known and flagging if an outlier 4 years 8 months ago #77613

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6574
  • Thank you received: 1477
  • Karma: 579
I don't know about EM but you can do it with JavaScript listeners on the inputs - docs.limesurvey.org/Workarounds%3A+Manip...m_response_listeners
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Comparing answer to a known and flagging if an outlier 4 years 8 months ago #77633

  • mark01
  • mark01's Avatar
  • Offline
  • Expert Lime
  • Posts: 91
  • Thank you received: 1
  • Karma: 0
Thanks Tony
Got it working - exactly what I'm after - fantastic.
Regards
The administrator has disabled public write access.
Time to create page: 0.261 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form