formio / formio.js

JavaScript powered Forms with JSON Form Builder

Home Page:https://formio.github.io/formio.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disable calculations and logic

AnthonyPhan opened this issue · comments

Hi,

Is there a way to disable calculated values and logic?
We have a screen that renders submitted forms with readOnly: true. However, I noticed that the calculated fields and logic still run which can overwrite values that are loaded by in by the submission json.

You can turn off the Evaluator with the "noeval" flag.

Formio.createForm(document.getElementById('formio'), 'https://examples.form.io/example', {
  noeval: true,
  readOnly: true
});