# Require Description for Large Opportunities

**Type:** Apex trigger · **Difficulty:** Medium · **Object:** Opportunity · **Topics:** Opportunity, Validation

Practice this problem interactively (write and run your Apex trigger against realistic data): https://www.forcechallenges.com/problems/require-description-large-opportunities

## Problem

Require a Description when an Opportunity Amount is at least 500,000. Smaller Opportunities do not need a Description. Enforce this on insert and update.

## Constraints

Write bulk-safe trigger logic and do not run SOQL or DML inside loops.

---
Source: ForceChallenges · last updated 2026-10-13
