# weforms/1.2.8/includes/admin/views/submission-restriction.php

weForms – Easy Drag &amp; Drop Contact Form Builder For WordPress, version 1.2.8. 90 lines.

- Page: https://pluginprobe.com/plugins/weforms/1.2.8/code/includes/admin/views/submission-restriction.php
- Raw: https://pluginprobe.com/plugins/weforms/1.2.8/raw/includes/admin/views/submission-restriction.php
- Modified: 2017-08-01T07:10:04+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/weforms/1.2.8/code/includes/admin/views/submission-restriction.php#L10-L20`.

```php
<table class="form-table">

    <tr class="wpuf-schedule-entries">
        <th><?php _e( 'Schedule form', 'weforms' ); ?></th>
        <td>
            <label>
                <input type="checkbox" v-model="settings.schedule_form" :true-value="'true'" :false-value="'false'">
                <?php _e( 'Schedule form for a period', 'weforms' ); ?>
            </label>

            <p class="description">
                <?php _e( 'Schedule for a time period the form is active.', 'weforms' ) ?>
            </p>
        </td>
    </tr>

    <tr class="wpuf-schedule-period" v-show="settings.schedule_form == 'true'">
        <th>&mdash; <?php _e( 'Schedule Period', 'weforms' ); ?></th>
        <td>

            <?php _e( 'From', 'weforms' ); ?>
            <datepicker v-model="settings.schedule_start"></datepicker>

            <?php _e( 'To', 'weforms' ); ?>
            <datepicker v-model="settings.schedule_end"></datepicker>
        </td>
    </tr>

    <tr class="wpuf-schedule-pending" v-show="settings.schedule_form == 'true'">
        <th>&mdash; <?php _e( 'Form Pending Message', 'weforms' ); ?></th>
        <td>
            <textarea rows="3" cols="40" v-model="settings.sc_pending_message"></textarea>
        </td>
    </tr>

    <tr class="wpuf-schedule-expired" v-show="settings.schedule_form == 'true'">
        <th>&mdash; <?php _e( 'Form Expired Message', 'weforms' ); ?></th>
        <td>
            <textarea rows="3" cols="40" v-model="settings.sc_expired_message"></textarea>
        </td>
    </tr>

    <tr class="wpuf-require-login">
        <th><?php _e( 'Require Login', 'weforms' ); ?></th>
        <td>
            <label>
                <input type="checkbox" v-model="settings.require_login" :true-value="'true'" :false-value="'false'">
                <?php _e( 'Require user to be logged in', 'weforms' ); ?>
            </label>
        </td>
    </tr>

    <tr class="wpuf-limit-message" v-show="settings.require_login == 'true'">
        <th>&mdash; <?php _e( 'Require Login Message', 'weforms' ); ?></th>
        <td>
            <textarea rows="3" cols="40" v-model="settings.req_login_message"></textarea>
        </td>
    </tr>

    <tr class="wpuf-limit-entries">
        <th><?php _e( 'Limit Entries', 'weforms' ); ?></th>
        <td>
            <label>
                <input type="checkbox" v-model="settings.limit_entries" :true-value="'true'" :false-value="'false'">
                <?php _e( 'Enable form entry limit', 'weforms' ); ?>
            </label>

            <p class="description">
                <?php _e( 'Limit the number of entries allowed for this form', 'weforms' ) ?>
            </p>
        </td>
    </tr>

    <tr class="wpuf-number-entries" v-show="settings.limit_entries == 'true'">
        <th>&mdash; <?php _e( 'Number of Entries', 'weforms' ); ?></th>
        <td>
            <input type="number" value="" v-model="settings.limit_number">
        </td>
    </tr>

    <tr class="wpuf-limit-message" v-show="settings.limit_entries == 'true'">
        <th>&mdash; <?php _e( 'Limit Reached Message', 'weforms' ); ?></th>
        <td>
            <textarea rows="3" cols="40" v-model="settings.limit_message"></textarea>
        </td>
    </tr>


</table>

```
