Skip to main content

i4w_webform

Usage

This shortcode provides a simple wrapper to a Keap webform such that, when a user is logged in, all fields will be automatically populated with the corresponding user data.

Using the proper parameters, the shortcode also provides a means of "pulling" data from another contact and automatically populating form fields with the corresponding values.

[ELSE_webform] conditional branching is NOT supported.

Shortcode nesting is NOT supported.

Parameters

ParameterDescriptionDefaultRequired
cidSpecifies the contact ID to use, if data other than from the currently logged in user is desired.Current userNo
emailhiddenSpecifies whether an email input field should be hidden or visible.visibleNo
usepostdataSpecifies that the contact ID or contact Email used to "pull" the contact data from Keap will be passed as POST data. Given both POST and GET data, POST has priority.NoneNo
usegetdataSpecifies that the contact ID or contact Email used to "pull" the contact data from Keap will be passed as GET data.NoneNo

Example

Shortcode
[i4w_webform]
Copy and paste your Keap web form here…
Input fields will be populated with data from the current, logged in user – or blank values if not logged in…
[/i4w_webform]

[i4w_webform cid='1234']
Copy and paste your Keap web form here…
Input fields will be populated with data from the contact specified with "cid".
[/i4w_webform]

[i4w_webform usepostdata='yes']
Copy and paste your Keap web form here…
Input fields will be populated with data from the contact specified in POST fields: "cid", "Id", "ContactId", "Contact0Id" or "inf_field_Id".
[/i4w_webform]

[i4w_webform usegetdata='yes']
Copy and paste your Keap web form here…
Input fields will be populated with data from the contact specified in GET fields: "cid", "Id", "ContactId", "Contact0Id" or "inf_field_Id".
[/i4w_webform]