farinspace / wpalchemy

Thin framework for wordpress
http://wpalchemy.com/
Other
415 stars 112 forks source link

Repeater group fields #93

Closed marceloxp closed 8 years ago

marceloxp commented 10 years ago

Add js script in _global_head() to remove fields class .tocopy as a blank values in DB:

// Line 1363:
$(document).on
(
    'submit',
    'form#post',
    function()
    {
        jQuery('div.tocopy').remove();
    }
);
farinspace commented 10 years ago

A cleaner way to do this, would be to use the "save_filter" in PHP to modify the array prior to saving the data.

I'll look into any issues with form data being submitted from the .tocopy template.

farinspace commented 8 years ago

clearing old issues .. please reopen if issue continues.