Skip to main content

ResponseIsValid Usage

The responseIsValid property checks if any invalidItems are present and returns a boolean value.

Live Editor
function App() {
  const responseIsValid = useQuestionnaireResponseStore.use.responseIsValid();

  return (
    <>
      <YourBaseRendererWrapper questionnaire={qCalculatedExpressionBMICalculator} />
      <JsonViewer hookName="responseIsValid" data={responseIsValid} />
    </>
  );
}
Result
Loading...