Return to Snippet

Revision: 62261
at February 12, 2013 12:33 by paddy1228


Initial Code
add_filter("gform_field_value_cname", "populate_cname");
function populate_cname($value){
    global $post;
    $cname = get_post_meta($post->ID, 'firstname', true);
   return $cname;
}

Initial URL

                                

Initial Description
Populate Fields from Post Data
Add this to functions.php

Initial Title
Gravity Forms - Populate Fields from Post Data

Initial Tags
wordpress, forms

Initial Language
PHP