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

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

- Page: https://pluginprobe.com/plugins/formidable/2.05.09/code/classes/views/shared/errors.php
- Raw: https://pluginprobe.com/plugins/formidable/2.05.09/raw/classes/views/shared/errors.php
- Modified: 2018-01-03T22:31:08+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/2.05.09/code/classes/views/shared/errors.php#L10-L20`.

```php
<div class="clear"></div>
<?php
if ( isset( $message ) && $message != '' ) {
    if ( FrmAppHelper::is_admin() ) {
		echo '<div id="message" class="updated frm_msg_padding">';
		echo $message;
		echo '</div>';
    } else {
        echo $message;
    }
}

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
}

```
