PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Pre-population issue

  1. I am trying to pre-polulate user meta for phone and date of birth. I was able to prepop username, email, etc. Are the phone and date of birth not included in the user meta from other forms? Is the user meta limited to the info that wordpress registration contains?

    1) used parameter name user_phone in Advanced

    2) inserted this in functions.php add_filter('gform_field_value_user_phone', create_function("", '$value = populate_usermeta(\'phone\'); return $value;' ));

    Is there a better or eaiser way to do this?
    Thanks!
    Marge
    http://www.pirategirlfitnesscompany.com

    Posted 12 years ago on Friday June 17, 2011 | Permalink
  2. I'm not entirely sure what you are asking. If you are trying to pre-populate user meta where is the data coming from? user_meta? If so the data has to already exist in user_meta to pre-populate a field with it.

    Here is a tutorial that discusses how to dynamically populate fields:

    http://www.gravityhelp.com/documentation/page/Using_Dynamic_Population

    Posted 12 years ago on Friday June 17, 2011 | Permalink