WordPress.org

Ready to get started?Download WordPress

Forums

Gravity Forms + Custom Post Types
GF + CPT and Fundraising CPT (1 post)

  1. ZekeB
    Member
    Posted 1 year ago #

    Works perfectly thanks to your plugin...user can complete a WPMU Fundraising campaign from the frontend using the GF and CPT...except:

    Cannot get GF + CPT award levels and descriptions passed to the CPT...

    The fundraising is storing awards:

    Option name is "wdf_levels" and all details are stored in db as array...for example:

    "a:2:{i:0;a:3:{s:6:"amount";d:1;s:11:"description";s:12:"description1";s:18:"reward_description";s:0:"";}i:1;a:3:{s:6:"amount";d:2;s:11:"description";s:12:"description2";s:18:"reward_description";s:0:"";}}"

    So these variations of their CPT fields have been tried in GF + CPT

    wdf_levels[0][amount]
    wdf_levels[0][description]
    wdf_levels[1][amount]
    wdf_levels[1][description]
    ....
    wdf_levels[0][0][amount]
    wdf_levels[0][0][description]
    wdf_levels[0][1][amount]
    wdf_levels[0][1][description]

    In an attempt to pass the GF + CPT values to the CPT on submission from its storage:

    [17] => a:3:{i:0;s:2:"10";i:1;s:2:"25";i:2;s:2:"50";}
    [14] => a:3:{i:0;s:5:"Pasta";i:1;s:14:"Pasta and Wine";i:2;s:16:"Five Course Meal";}

    Is this possible...?

    http://wordpress.org/extend/plugins/gravity-forms-custom-post-types/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic