{"templateId":"@theme/Templates/SideBySide.tsx","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["split"]},"type":"markdown"},"seo":{"title":"Conditions & calculators","description":"Build integrations, automate workflows, and manage forms and responses programmatically with the forms.app API.","siteUrl":"https://developers.forms.app","image":"/assets/formsapp-developer-docs.6ffba4f5ff7d394698661bcdb0ed2a8452f27acaf4e82754e5d0f4109563471c.9c1bb791.png","lang":"en-US","projectTitle":"forms.app Developer Docs","llmstxt":{"sections":[{"title":"llmtxt for forms app documents","includeFiles":["**/*"],"excludeFiles":[]}],"hide":false,"excludeFiles":[]},"jsonLd":{"@context":"https://schema.org","@type":"Organization","additionalType":"https://en.wikipedia.org/wiki/Software_as_a_service","url":"https://forms.app","name":"forms.app","logo":"https://cdn.forms.app/icons/all/brands/formsapp-logo-dark.svg","description":"forms.app is a free online form builder designed for teams. forms.app offers a modern, easy-to-use form builder and allows unlimited responses and team members.","foundingDate":"2018","sameAs":"https://linkedin.com/company/formsapp","contactPoint":{"@type":"ContactPoint","contactType":"Customer service","email":"support@forms.app","url":"https://forms.app/en/contact-us"}}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"conditions--calculators","__idx":0},"children":["Conditions & calculators"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Forms can include conditional logic (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["conditions"]},") and scoring rules (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["calculators"]},"). Both are arrays at the top level of the form object."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"conditions","__idx":1},"children":["Conditions"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Conditions control question visibility, required status, and thank-you page routing based on previous answers."]},{"$$mdtype":"Tag","name":"Split","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In the example forms, both arrays are empty, the form has no conditional logic configured. When present, each condition object defines a trigger (source question and answer) and an action (show/hide a question, jump to a page, etc.)."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Check the form's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["conditions"]}," array to determine whether logic is applied."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"\"conditions\": []\n","lang":"json"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"calculators","__idx":2},"children":["Calculators"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Calculators assign scores or compute values based on answers. Used for quizzes, lead scoring, and similar workflows."]},{"$$mdtype":"Tag","name":"Split","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When present, each calculator object defines how answers map to numeric values. In the example forms, no calculators are configured."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Check the form's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["calculators"]}," array to determine whether scoring is enabled."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"\"calculators\": []\n","lang":"json"},"children":[]}]}]},"headings":[{"value":"Conditions & calculators","id":"conditions--calculators","depth":1},{"value":"Conditions","id":"conditions","depth":2},{"value":"Calculators","id":"calculators","depth":2}],"frontmatter":{"template":"@theme/Templates/SideBySide.tsx","seo":{"title":"Conditions & calculators"}},"lastModified":"2026-05-26T07:43:28.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/guides/form-schema/settings/logic","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}