Opened 6 years ago

Last modified 5 years ago

#4588 new enhancement

Chart activity: filter input to only accept valid values

Reported by: DeepakMuddha Owned by: walter
Priority: Low Milestone: Unspecified
Component: Chart Version: Unspecified
Severity: Minor Keywords: AU, patch
Cc: gonzalo, DeepakMuddha Distribution/OS: Unspecified
Bug Status: Assigned

Description

Error when inputting value with preceding "$" causes a problem - Invalid value The value must be a number (integer or decimal) - the wording is too advanced for primary school students to understand, recommend implementing a filter to prevent such vales from being entered

Chart activity v8

https://sugardextrose.org/issues/2951

Change History (4)

comment:1 Changed 6 years ago by walter

I suppose we need to strip out all non-numerics and try to make a sensible conversion, e.g., if the user enters 1m for 1 meter and then 1cm for one centimeter, we'd need to convert to 0.01. Not easy. In the short term, if there are suggestions for an easier to understand error message, I am all ears.

comment:2 Changed 5 years ago by godiard

  • Keywords AU added; AU1B removed

comment:4 Changed 5 years ago by godiard

  • Keywords patch added
Note: See TracTickets for help on using tickets.