Skip to content

Build out validations in UI #2

Closed
@tparsnick

Description

@tparsnick

Range checks, data-type checks, mandatory fields, and other validations are represented in the models as validations but are not enforced in the UI. There should be validation messages to the user.

See NUARIG#34; https://github.com/NUBIC/surveyor/commits/34_support-validations.
Check this branch out and see how far it gets us.

This is a big issue and may be broken up into a few other issues as you see fit.

Mandatory Fields:
One major validation is mandatory fields. You can mark mandatory in DSL. There is model support for this. See surveys/kitchen_sink_survey.rb.
See NUARIG#469; https://github.com/alkalin3/surveyor/compare/validate-mandatory; https://github.com/alkalin3/surveyor/commits/validate-mandatory

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions