How To Configure Pre Populate Fields Add-On

The enable the add-on go to Addons -> Pre Populate Fields and check the option ‘Enable Addon

This add-on basically allows you to set default, or dynamic values, to your forms when your users see it.

  1. How To Set Default Form Values
  2. How To Populate Forms With User Data
  3. How To Populate Forms With Data From URL
  4. How To Populate Forms With Post Data
  1. How To Set Default Form Values

    When editing your form enter the default values you want in the form itself:
    pp-2

  2. How To Populate Forms With User Data

    When editing the form use the format [User: key] example:pp-3
    You select from a bunch of tags:
    [User: ID]
    [User: user_login]
    [User: user_email]
    [User: user_url]
    [User: user_registered]
    [User: display_name]
    [User: first_name]
    [User: last_name]
    [User: nickname]

  3. How To Populate Forms With Data From URL

    You can use URL attributes to populate the form via field IDs, like this example:

    You can find the field ID when you click on a field when editing the form:

  4. How To Populate Forms With Post Data

    Use the format [Post: key]post
    You select from a bunch of tags:
    [Post: ID]
    [Post: url]
    [Post: post_date]
    [Post: post_title]
    [Post: post_status]
    [Post: post_name]

    It also works with custom fields in your post. For custom fields, use this format:
    [Post: custom_field_name]