Skip to content

Commit

Permalink
Merge pull request #17 from bu-ist/adjust-readme
Browse files Browse the repository at this point in the history
adjust readme
  • Loading branch information
jdub233 authored Jul 10, 2017
2 parents cd5badd + 3436e77 commit d19b2df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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"`.

0 comments on commit d19b2df

Please sign in to comment.