apluslms/a-plus-rst-tools

Way to define limits for form fields

Opened this issue · 0 comments

Migrated from Trello


Comments

Jaakko Kantojärvi :
MOOC jutut does limit numeric fields as long as it gets those values.
Example of JSON part for a numeric field from MOOC Jutut.

{   
  "type": "number",
  "key": "timespent",
  "title": "Time Spent",
  "description": "Time spent writing this feedback",
  "validationMessage": "Time given is not in any way valid...",
  "minimum": 9,
  "maximum": 1000,
  "value": 10
},