Skip to main content
Skip table of contents

RPI web forms

RPI web forms are created and managed in the Smart Asset Designer.

Web forms can be hosted inside landing pages, published to a website and then used to capture data from both anonymous and known visitors.

Web forms support a number of form elements that can be customized to capture a variety of data. On submission of a web form and following execution of the Web form processor system task, data entered therein is written to tables within the RPI data warehouse, where it can be leveraged for later communication purposes.  The submitted data can also be written to a visitor’s profile in the realtime cache.

If system configuration setting WebFormOutputToFile is set to True, on execution of the Web form processor task, web form data is written to a file with name format 'RPIFormSubmission[YYYYMMDDhhmmsssss]'.  The file is created in a folder defined by system configuration setting WebFormOutputToFilePath, and is formatted as per the following example:

CODE
    "ChannelExecutionID": null,
    "RPContactID": "",
    "FormID": "All Elements",
    "PublishID": "8414",
    "VisitorID": "11000",
    "DeviceID": "7c69f35e-6770-4226-8f37-f12ffb5dbf82",
    "ImpressionID": "",
    "RedirectURL": "http://www.bbc.co.uk ",
    "TriggerKey": null,
    "EmailAddressField": "EmailFieldName",
    "FileID": "de5ea5f4-242c-4477-8b11-b0e5712724c1",
    "Items": [
        {
            "Key": "HiddenFieldName",
            "Value": "xxx",
            "IsCustomField": false
        },
        {
            "Key": "TextboxFieldName",
            "Value": "yyy",
            "IsCustomField": false
        },
        {
            "Key": "RadiobuttonsFieldName",
            "Value": "A",
            "IsCustomField": false
        },
        {
            "Key": "CheckboxFieldName",
            "Value": "True",
            "IsCustomField": false
        },
        {
            "Key": "DropdownFieldName",
            "Value": "D",
            "IsCustomField": false
        },
        {
            "Key": "ListFieldName",
            "Value": "G",
            "IsCustomField": false
        },
        {
            "Key": "EmailFieldName",
            "Value": "jimxingu@hotmail.com",
            "IsCustomField": false
        },
        {
            "Key": "DateFieldName",
            "Value": "2023-04-06",
            "IsCustomField": false
        }
    ]

}

Note that data continues to be written to the RPI_WebForm* tables irrespective of the WebFormOutputToFile setting value.

You can generate script in the web form Asset Designer to allow you to leverage an RPI web form in an external web page.

If you associate a web form element with a cached attribute list, on the form’s submission the value submitted at the element will be used as a lookup key to retrieve data defined by the cached attribute list and load it into the realtime cache.

An RPI web form’s submission can also be invoked via the RPI Realtime API.  For more information, please see the API’s Swagger documentation.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.