Form Data Collector

By : taunoh

This plugin is a developer's tookit for collecting form data from your WordPress site. It provides the necessary hooks for you to manage how data is saved and displayed later.

NOTE: Plugin will add "px_fdc" prefix to all form field names before they are stored in database.

In HTML

<form action="#" method="post" id="form">
    <input type="text" name="itemID" />
    <input type="text" name="cname" />
    <input type="text" name="address2" />
    <button type="button" class="js-submit">Submit</button>
</form>

Send form data via Ajax.

$('.js-submit').on('click', function(e) {
    e.preventDefault();

    $.post(ajaxurl,
        {
            action: 'fdc_action',
            data: $('#form').serialize(),
            check: fdc_vars.nonce,
            cmd: 'save'
        }, function(data) {
            console.log(data);
        }
    );
});

Use filter to remove fields that you don't want to store in database

function px_filter_data($data)
{
    if( isset($data['address2']) ) {
        unset($data['address2']);
    }

    return $data;
}
add_filter('fdc_pre_save_meta', 'px_filter_data', 10, 1);

Add columns to the Entries table in the Admin area.

function px_fdc_table_list_columns($columns)
{
    $columns = array(
        'item' => 'Item',
        'name' => 'Name'
    );
    return $columns;
}
add_filter('fdc_table_list_columns', 'px_fdc_table_list_columns');

Add data to the Entries table columns

function px_fdc_table_list_values($column_name, $item)
{
    $post_id = $item->ID;

    switch($column_name)
    {
        case 'item':
            echo get_post_meta($post_id, '_px_fdc_itemID', true);
        break;
        case 'name':
            echo get_post_meta($post_id, '_px_fdc_cname', true);
        break;
    }
}
add_filter('fdc_table_list_columns_values', 'px_fdc_table_list_values', 10, 2);

Control how data is displayed in the Entry Details modal.

function px_fdc_overview_output($meta)
{
    $new_meta = array();
    $new_keys = array(
        '_px_fdc_itemID' => 'Car',
        '_px_fdc_name' => 'Name',
    );

    if( ! empty($meta) )
    {
        foreach( $meta as $key => $value )
        {
            if( isset($new_keys[$key]) ) {
                $new_meta[$new_keys[$key]]= $value;
            } else {
                $new_meta[$key]= $value;
            }
        }
    }

    return $new_meta;
}
add_filter('fdc_overview_details_output', 'px_fdc_overview_output');

FormBuilder

The Form Builder Plugin for WordPress allows you to build contact forms in the WordPress administrative interface without needing to know PHP or HTML. We've tried to make it simple enough for anyone to make them, yet customisable enough to satisfy the needs of experienced web developers. ** Feature.........

Similar: 37%

Visual Form Builder

Visual Form Builder is a plugin that allows you to build and manage all kinds of forms for your website in a single place. Building a fully functional contact form takes only a few minutes and you don't have to write one bit of PHP, CSS, or HTML!...

Similar: 25%

GuiForm

This plugin has a simple drag and drop function and user-friendly customization commands that would let anyone create forms in a flash. No need to code anything - the plugin will do it for you....

Similar: 24%

Free Forms & CRM

The plugin allows you to use forms connected to the powerful Worldsoft Business Suite CRM directly on your WordPress website. It is created entirely to require only the free package of the CRM, so that it is and will remain entirely free (no hidden costs). You can create forms in the CRM and insert.........

Similar: 20%

MWP Forms

Create simple forms & insert them anywhere with a shortcode...

Similar: 18%

Form Maker

Form Maker is a FREE and user-friendly plugin to create highly customizable and responsive forms in a few minutes with simple drag and drop interface. WordPress Form Maker Demo Demo Admin User Manual Frequently Asked Questions...

Similar: 8%

Contact Form Builder

Create responsive FREE contact forms with multiple templates and theme options. WordPress Contact Form Builder Demo Demo Admin User Manual Contact Form Builder is the best tool for quickly arranging a contact form for your clients and visitors. The form includes all of the form field types nec.........

Similar: 8%

Convertable Contact Form Builder Analytics and Lead Management Dashboard

Convertable is the only plugin you will need to generate, track and manage leads with WordPress. In less than 5 minutes, you can build a contact form without having to know any HTML, get leads with real-time visitor tracking information (more detailed than Google Analytics) sent to your email, and u.........

Similar: 5%

Forms

WordPress Contact Forms WordPress Forms Demo Contact Form FAQ Contact Form User Contact Form Manual Forms are one of the most important elements of WordPress website because without Forms Builder you will not be able to always keep in touch with your visitors, partners and customers, give an eas.........

Similar: 4%

Contact Form Generator

Contact Form Generator is a powerful contact form builder for WordPress! It is structured for creating Contact Forms, Application Forms, Reservation Forms, Survey Forms, Contact Data Pages and much more. You will get ready-to-use forms just after installation. Contact Form Generator is packed with.........

Similar: 3%