# formidable/1.07.11/classes/views/shared/errors.php

Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes &amp; More, version 1.07.11. 12 lines.

- Page: https://pluginprobe.com/plugins/formidable/1.07.11/code/classes/views/shared/errors.php
- Raw: https://pluginprobe.com/plugins/formidable/1.07.11/raw/classes/views/shared/errors.php
- Modified: 2014-09-12T18:44:48+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/formidable/1.07.11/code/classes/views/shared/errors.php#L10-L20`.

```php
<div class="clear"></div>
<?php if (isset($message) && $message != ''){ if(is_admin() and !defined('DOING_AJAX')){ ?><div id="message" class="updated" style="padding:5px;"><?php } echo $message; if(is_admin() and !defined('DOING_AJAX')){ ?></div><?php } } ?>

<?php if( isset($errors) && is_array($errors) && count($errors) > 0 ){ ?>
    <div class="error">
        <ul id="frm_errors">
            <?php foreach( $errors as $error )
                echo '<li>' . $error . '</li>';
            ?>
        </ul>
    </div>
<?php } ?>
```
