# Field rules

> Show a field only when it applies, make it needed when it matters, and check values.

- Canonical page: https://hispecular.com/docs/field-rules
- Section: CRM
- Updated: 2026-10-22

Rules shape a record without code: a field shows only when it applies, is marked as needed when it matters, and refuses a value that does not fit, in your words.

## Open a field’s rules

1. Go to Settings → CRM → Fields.
2. Click ··· beside the field, then Rules…. Standard fields have rules too.

## Show only when

1. Tick On beside Show only when.
2. Choose the other field, the condition (is, is not, is set, is empty, is one of) and the value.

The field stays hidden on the record until the condition holds; its value is kept meanwhile.

## Required when

Set a condition the same way. While it holds, the field is marked Needed on the record.

## Validation

1. For a number, set Smallest and Largest; for text, the shortest and longest length, or a Pattern.
2. Write the Message people read when a value is refused.
3. Click Save rules. The rule is checked everywhere a value is written: the record, the table, imports, the API and Ray.

## Troubleshooting
