Standard variables
XFP provides a number of standard variables, to expose certain pieces of information about the form, the customer, and their submission. It is also possible to develop your own standard variables if you have programming experience in PHP - see the developer guide for more information on how to do this.
Inserting a standard variable
When in the variable picker:
Click on the Standard tab.
Click Insert next to the standard variable you wish to insert.
Provided standard variables
Name | Description |
---|---|
Form - All Questions/Answers | A list of all answered questions in the submission |
Form - CXM Case Link | A link to a CXM case raised by the form (requires a corresponding CXM form action to be set up) |
Form - CXM Case Reference | The reference of the first case created in CXM when submitting the form. If no cases were created, this returns an empty value. |
Form - CXM / Reference Number | The reference of the first case created in CXM when submitting the form. If no cases were created, this returns the user form reference instead. |
Form - Channel | The submission channel, either WEB or CSO |
Form - Identifier | The ID of the form |
Form - Instructions | The form instructions, if present |
Form - Reference No | The reference of the customer's submission |
Form - Sequence ID | The submission reference relative to this form only, e.g. 2 if it is the 2nd completed submission of this form |
Form - Started Date | The date the form was started |
Form - Started Time | The time the form was started |
Form - Submitted Date | The date the form was submitted |
Form - Submitted Time | The time the form was submitted |
Form - Title | The title of the form |
Internal - CXM Person Reference | The corresponding CXM person reference, if present |
PayBridge - Payment Reference | The corresponding payment reference in PayBridge, if present (requires a corresponding PayBridge form action to be set up) |
User Form - Generated PDF Link | A link to download a generated PDF, if present (requires a corresponding PDF form action to be set up) |
User - * | Pieces of information relating to the customer submitting the form |
User Organisation - * | Pieces of information relating to the organisation of the customer submitting the form |