Walk-Through: How to Use the ‘:formatted as text’ Operator

Learn how to write if/else statements directly in the expression composer to show context-driven information — without conditionals.

Abhinav Narain
May 14, 2024 • 2 minute read
Walk-Through: How to Use the ‘:formatted as text’ Operator

Imagine this: You’re building an app with multiple role types and permissions, and you want to surface unique details associated with a set of information to different user types. With Bubble, you could set up a series of conditional statements to accomplish this — or you could use the :formatted as text operator.

The :formatted as text operator allows you to configure the text displayed anywhere a dynamic expression can be distilled down to a yes/no value. In traditional programming, this is known as a boolean.

Let’s explore how you might use :formatted as text in real life. Use these steps to follow along with the tutorial above.

  • Let’s say we’re building a dashboard that displays users on a team. Instead of showing the same information to every team member, we want to add contextual value for the specific user navigating the page. With the :formatted as text operator, we can craft elaborate, dynamic expressions to offer greater insight for the user.
  • As an example, we’ll change the text shown in the Team Members repeating group to display a greater variety of dynamic data.
  • Right now, the cell’s text only displays the user’s first name. But what if we want the Current User to see their own card more clearly? Or what if we want to show which users are admins? 
  • Instead of writing multiple conditionals — which could become tedious to manage — we can use the :formatted as text operator.
  • This operator lets us vary what text is displayed anywhere a dynamic expression evaluates a yes/no value — otherwise known as a boolean in traditional programming.
  • If yes (meaning the card’s user is the Current User), we can have the text say, “You.” If no, we can display the user’s full name.
  • The superpower of this operator is that we can now group or nest if/else statements together. For example, we can add an additional if/else statement to see if another user is the team admin. If so, we can display that info accordingly.
  • If we don’t want the no condition to add anything, we can leave the formatting input blank.

Happy building!

Start building for free

Build for as long as you want on the Free plan. Only upgrade when you're ready to launch.

Join Bubble

LATEST STORIES

blog-thumbnail

The 7 Best Low Cost Mobile App Development Tools in 2026

Build a real mobile app affordably without compromising on control. Compare platforms that balance pricing with the ability to edit when AI gets stuck, understand what you’re building, and publish to iOS, Android, or web, so you pick the right tool the first time.

Bubble
May 08, 2026 • 16 minute read
blog-thumbnail

The 8 Best Enterprise App Builders in 2026 for Every Team

This guide compares the leading enterprise app builders for web and mobile development in 2026. You’ll see which security features matter for enterprise compliance and how to choose the right platform based on your team’s infrastructure and application requirements.

Bubble
May 08, 2026 • 15 minute read
blog-thumbnail

The 7 Best AI-Powered App Builders for Operations Teams in 2026

Discover the best AI app builders for operations teams — comparing platforms across governance capabilities, mobile deployment options, workflow transparency, and pricing models to help you choose the right tool for internal apps, partner portals, and field applications.

Bubble
May 08, 2026 • 17 minute read
blog-thumbnail

The 8 Best Software To Develop iOS Apps in 2026

The best AI mobile app builders combine AI generation with visual editing, built-in backends, and native publishing. Here's how eight platforms compare — and which fits your situation.

Bubble
May 08, 2026 • 15 minute read

What Can You Build on Bubble? 25 Examples to Inspire You

February 27, 2026 • 18 minute read

See How We Redesigned the Property Editor for Better Building

December 11, 2025 • 4 minute read

The Easiest Way to Build a Custom CRM (With AI, Updated for 2025)

October 10, 2025 • 17 minute read

The Future of Bubble’s Editor: Introducing the New Workflow Tab

October 11, 2024 • 3 minute read

Efficient App Building 101: Improving Your Workload Usage

July 01, 2024 • 3 minute read

Build the next big thing with Bubble

Start building for free