# Error Management

Error management in Superform ensures your forms are user-friendly and efficient by providing immediate feedback and clear guidance for correcting errors.&#x20;

#### What Error Management Does

1. **Immediate Feedback**: Provides instant feedback for invalid inputs.
2. **User Guidance**: Clearly indicates issues for quick correction.
3. **Improved Usability**: Enhances overall user experience by ensuring data integrity.

{% hint style="info" %}
**Hint**

Superform respects **both native HTML validations and its specific validations**.&#x20;

This means you can seamlessly integrate both types into your forms for comprehensive error handling and validation.

{% endhint %}

***

## Prevent Content (Error) Flashing

We highly recommend using the `sf-noflash="true"` attribute on error messages or the entire form if they appear on the first step or during the initial load.

This approach prevents content from flashing or appearing abruptly, ensuring a smoother and more visually appealing user experience right from the start.

→ Read more about [prevent-content-flash](https://deltaclan.gitbook.io/superform/global-options/prevent-content-flash "mention")

***

## Automatic or Manual Setup?

Choose between automatic and manual setup for handling error management in your forms. Each method offers unique benefits to suit different needs.

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Automatic Setup</strong></td><td></td><td>🚫 No attributes required</td><td>Simplified error management</td><td>Automatic binding of error elements</td><td>Utilizes proximity &#x26; class names</td><td><a href="error-management/automatic-error-setup">automatic-error-setup</a></td></tr><tr><td><strong>Manual Setup</strong></td><td></td><td>✅ Attributes required</td><td>Granular control</td><td>Manually bind any element</td><td>Allows extensive customization options</td><td><a href="error-management/manual-error-setup">manual-error-setup</a></td></tr></tbody></table>

{% hint style="info" %}
**Pro Tip**&#x20;

You don’t have to choose one method exclusively. Combine automatic and manual setups for the ultimate workflow, leveraging the strengths of both approaches for flexible error management.

{% endhint %}
