# html-forms/1.7.0/views/page-add-form.php

HTML Forms – Simple WordPress Forms Plugin, version 1.7.0. 38 lines.

- Page: https://pluginprobe.com/plugins/html-forms/1.7.0/code/views/page-add-form.php
- Raw: https://pluginprobe.com/plugins/html-forms/1.7.0/raw/views/page-add-form.php
- Modified: 2026-09-14T13:22:54+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.7.0/code/views/page-add-form.php#L10-L20`.

```php
<?php  defined( 'ABSPATH' ) or exit; ?>

<div class="wrap hf">

    <style type="text/css" scoped>
        label{ display: block; font-weight: bold; font-size: 18px; }
    </style>

    <p class="breadcrumbs">
        <span class="prefix"><?php echo __( 'You are here: ', 'html-forms' ); ?></span>
        <a href="<?php echo admin_url( 'admin.php?page=html-forms' ); ?>">HTML Forms</a> &rsaquo;
        <span class="current-crumb"><strong><?php _e( 'Add New Form', 'html-forms' ); ?></strong></span>
    </p>

    <h1 class="page-title"><?php _e( 'Add New Form', 'html-forms' ); ?></h1>

    <form method="post" style="max-width: 600px;">
        <input type="hidden" name="_hf_admin_action" value="create_form" />
		<input type="hidden" name="_wpnonce" value="<?php echo esc_attr( wp_create_nonce('_hf_admin_action') ); ?>" />

        <table class="form-table">

            <tr valign="top">
                <th scope="row" style="width:80px;"><?php _e( 'Form Title', 'html-forms' ); ?></th>
                <td>
                    <input type="text" class="large-text" name="form[title]" value="" placeholder="<?php esc_attr_e( 'Your form title..', 'html-forms' ); ?>" required />
                </td>
            </tr>

        </table>

        <?php submit_button( __( 'Create Form', 'html-forms' ) ); ?>
    </form>

    <?php require __DIR__ . '/admin-footer.php'; ?>
</div>


```
