# html-forms/1.1/views/tab-settings.php

HTML Forms – Simple WordPress Forms Plugin, version 1.1. 31 lines.

- Page: https://pluginprobe.com/plugins/html-forms/1.1/code/views/tab-settings.php
- Raw: https://pluginprobe.com/plugins/html-forms/1.1/raw/views/tab-settings.php
- Modified: 2017-12-11T15:31:52+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/html-forms/1.1/code/views/tab-settings.php#L10-L20`.

```php
<h2><?php echo __( 'Form Settings', 'html-forms' ); ?></h2>

<table class="form-table">

    <tr valign="top">
        <th scope="row"><?php _e( 'Hide form after a successful sign-up?', 'html-forms' ); ?></th>
        <td class="nowrap">
            <label>
                <input type="radio" name="form[settings][hide_after_success]" value="1" <?php checked( $form->settings['hide_after_success'], 1 ); ?> />&rlm;
                <?php _e( 'Yes' ); ?>
            </label> &nbsp;
            <label>
                <input type="radio" name="form[settings][hide_after_success]" value="0" <?php checked( $form->settings['hide_after_success'], 0 ); ?> />&rlm;
                <?php _e( 'No' ); ?>
            </label>
            <p class="help">
                <?php _e( 'Select "yes" to hide the form fields after a successful sign-up.', 'html-forms' ); ?>
            </p>
        </td>
    </tr>

    <tr valign="top">
        <th scope="row"><label for="hf_form_redirect"><?php _e( 'Redirect to URL after successful sign-ups', 'html-forms' ); ?></label></th>
        <td>
            <input type="text" class="widefat" name="form[settings][redirect_url]" id="hf_form_redirect" placeholder="<?php printf( __( 'Example: %s', 'html-forms' ), esc_attr( site_url( '/thank-you/' ) ) ); ?>" value="<?php echo esc_attr( $form->settings['redirect_url'] ); ?>" />
            <p class="help"><?php _e( 'Leave empty or enter <code>0</code> for no redirect. Otherwise, use complete (absolute) URLs, including <code>http://</code>.', 'html-forms' ); ?></p>
        </td>
    </tr>
</table>

<?php submit_button(); ?>
```
