Test logic
editor_testLogicSimulate logic rules against sample answers and return visibility/required/calculated results. Read-only. Uses the same engine as the published form runtime.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formId | Yes | ||
| answers | No | Map of fieldId → answer value (any JSON-serializable shape). Keys are question/input/hidden/calculated field IDs from editor_getDocument. Values follow the per-field type — strings for text, numbers for number, booleans for switch, arrays for checkbox/ranking, etc. For a payment input, true simulates a completed payment. |