TPS Compliance: Viewing the Results

Setting up the Results Control

There is an option to add a custom control to your forms to track and display the current TPS and CTPS statuses of any phone number immediately.

Due to the advanced configuration of the custom control, the maker portal cannot currently be used to assign the control to the form field which means you will need to switch to classic.

The control will be placed onto a TPS result field. If you do not have any TPS result fields available, you can create one by selecting the “Create new field” option under the target field dropdown from the screen shown previously.

Once you are in the classic form editor, select the TPS result field and apply the “Data8 TPS CheckIndicator” control.

The options for the control are as follows:

Number Field: The is the field containing the phone number you want to carry out the check on.

Check Result: Disregard. This is an output property only which you do not need to configure.

Extending with JavaScript

By design, a custom control is applied to a field meaning it will only have context to itself and not the wider form. We do offer the option to extend any results and warnings to the form using some JavaScript.

To set this up, select “Form Libraries” on the left-hand side and add the “data8_tps_base.js” library to your form.

 

Once this is added, add an event handler to the “On Load” event of your form called data8_tps_start, ensuring the execution context is passed as the first parameter.

Join the Conversation

Receive the latest news, views and hot topics directly in your inbox! Sign up below

Follow us on social media

Data8
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.