cognito-expressions

Explain Cognito Forms expression syntax, operators, and function library.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/jacobrocks1212/claude-config --skill cognito-expressions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cognito-expressions
Source: https://github.com/jacobrocks1212/claude-config/tree/main/repos/cognito-forms/.claude/skills/cognito-expressions
Command: npx skills add https://github.com/jacobrocks1212/claude-config --skill cognito-expressions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Cognito Forms users often struggle to craft correct expressions for calculations and conditional logic. This skill provides expert guidance on the expression engine, syntax, operators, the function library, and the execution context to reduce errors and accelerate form development.

Core Features & Use Cases

  • Understand basic grammar, field referencing, and operator usage to write robust expressions.
  • Learn how to use the function library (e.g., SUM(), IF()) and global context to implement dynamic calculations.
  • Use Case: Build a form that computes discounted totals, tax, and conditional field visibility based on user input.

Quick Start

Write a Cognito Forms expression that calculates a discounted total based on state and order amount.

Frequently Asked Questions about cognito-expressions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write Cognito Forms expressions for dynamic calculations?

Build Cognito Forms expressions by applying basic grammar, field referencing, and operators to define calculations. You can implement dynamic logic by utilizing the function library and global evaluation context to process user input accurately.

What functions are available in the Cognito Forms expression library?

The Cognito Forms expression library provides functions like SUM() and IF() for dynamic calculations. Using these functions within the global evaluation context allows you to implement conditional field visibility and compute values based on user input.

How does conditional logic work in Cognito Forms expressions?

Conditional logic in Cognito Forms operates by evaluating user input against defined criteria using functions like IF(). This mechanism dynamically controls field visibility and triggers specific calculations within the form's execution context.

Can I calculate a discounted total and tax based on state in Cognito Forms?

You can calculate discounted totals and tax in Cognito Forms by writing expressions that reference state and order amount fields. Applying correct syntax, operators, and conditional logic yields the final computed values for your form.

Why are my Cognito Forms calculations returning errors or not working?

Cognito Forms calculations often fail due to incorrect syntax, improper field referencing, or misunderstood execution context. Correcting the expression grammar, operators, and function parameters resolves these evaluation errors.