survey-library icon indicating copy to clipboard operation
survey-library copied to clipboard

Question - .NET Schema server side validation

Open stephenstroud opened this issue 6 months ago • 1 comments

Hi, I wanted to validate the survey schema once received through my .NET API I've copied the reference code below. Is there a .NET flavour for this, if not I will create one.

import { Model } from "survey-core";

const surveyJson = { ... };
const survey = new Model(surveyJson);

survey.data = initialSurveyResultJson;
survey.clearIncorrectValues(true);

const correctSurveyResultJson = survey.data;

stephenstroud avatar Aug 01 '24 09:08 stephenstroud