From 3436e779747c578538f6bbf766cafd5d7290ed35 Mon Sep 17 00:00:00 2001 From: jdub233 Date: Mon, 10 Jul 2017 11:03:14 -0400 Subject: [PATCH] adjust readme --- readme.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index efbdc3e..7271e90 100644 --- a/readme.md +++ b/readme.md @@ -11,7 +11,7 @@ Once the API Key and Client ID have been set, the inquiry form can be placed any `[liaison_inquiry_form]` When the page or post is displayed, the shortcode will be replaced by the Liaison inquiry form. Prospective students can fill out the form and submit it directly from the Wordpress site, and will be redirected to their personal URL on the Spectrum EMP site. -##Advanced Usage +## Advanced Usage ### Mini-form A mini-form can be created by adding a shortcode attribute named `fields` containing a comma delimited list of integer field ids. The field ids that are listed will appear in the shortened form. @@ -22,8 +22,8 @@ A mini-form can be created by adding a shortcode attribute named `fields` contai Preset values can be added to the shortcode by adding an attribute with the field id and value like this: `11="PN"`. Here `11` is the field id for the Country, and `PN` is a country code that will be used as the preset value. -###Arbitrary preset values +### Arbitrary preset values Any other values can be set by including a shortcode attribute of the form `field_id="preset value"`. As long as there is a valid field id, any field can be preset in this way regardless of whether the field is part of the inquiry form. -###SOURCE +### SOURCE Liaison uses a special field called `source` that can track where a lead originated. It appears to be the only field in the Liaison forms that uses something other than an integer for the field id. The source can be set in a shortcode attribute like any other field like this: `source="12345"`.