FLOE-413: Data entry form field validation

Metadata

Source
FLOE-413
Type
Task
Priority
Major
Status
Open
Resolution
N/A
Assignee
N/A
Reporter
Cindy Li
Created
2015-08-21T14:21:41.837-0400
Updated
2015-08-21T14:21:41.837-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. Chart Authoring Tool

Description

The validations include:

  • Label field:
    1. Pre-set to "Section 1", "Section 2" etc;
    2. When fields are made empty, set back to pre-set values
  • Value field:
    1. Only accept number (integer or float) and is greater than or equal to 0
    2. Display a warning and does not update chart preview if entry is invalid