This feature enables the customization of the information presented to the app user after submitting a scan. When it detects a defined pattern within your original, default response text, the app will instead display custom, formatted text to app users based on the replacement template you create.
Also, it does not save the new text with the scan record, nor does it change your default response text. Instead, it changes what’s displayed to the app user under the defined condition.
For the Alter Response Pattern field, you define a pattern to which the replacement information will apply. In the Alter Response Replacement field, you enter the template of what and how you want to display to the app user in the app’s response field.
This feature is very useful for customizing the display of information to the app user. You can control the content’s text, images, typefaces, and colors using HTML. Also, you can use our Webify tools for real-time data display. To change the response text screen, please see the article ‘Customize the Response Seen after a Scan’.
Note: If you want to present your response using HTML, use structured text in column 2 of your database and an Alter Response HTML Template. Then, the database file size will be much smaller since you don’t need the full HTML content in every response field.
Invalid barcode. Value not in database.(.*?)
This attendee registered on-site. Their information will be available to you when retrieving your leads.
Attendee $(SCAN_VALUE) has been added to your leads.
First, the word “Recorded” is always in the response text for record-only services. Thus, if the scan value was “123”, the response text would show “Attendee 123 has been added to your leads”. Likewise, if the scan value was “John Doe”, the response text would show “Attendee John Doe has been added to your leads”.
Also, you can add HTML to the replacement string to alter the view, including highlighting specific text, increasing font sizes, or adding colors.
Note: To change the color of the response screen and the label from ‘Invalid’ to ‘On-Site Registrant’, use the ‘Enable custom display configuration‘ option on the Advanced step. Then, insert the following:
As with all text replacements, you can add HTML to the replacement string to alter the view, including highlighting specific text, increasing font sizes, or adding colors.
Last Name: $2
First Name: $1
If the barcode value in the validation database is ‘John, Doe’, the response text will be:
Last Name: Doe
First Name: John
If you don’t have a defined pattern in your original, default response text, use this ‘catch-all’ script. In the pattern, “s” matches any whitespace character (spaces, tabs, line breaks) while “S” matches any character that is not a whitespace character (spaces, tabs, line breaks).
It’s best to access this replacement HTML through a PDF file. It’s set up with text specifically for access control applications. However, you can edit it as needed for any use case. Options include:
Note: For HTML to render properly, please use:
In this case, the replacement adds the barcode value to the base URL and opens automatically in-app.
Here, the replacement copies the scanned URL to the Response text field and opens in-app. You can use this for QR codes that link to a web address. Also, the value of the code is a URL and this replacement opens the link using Webify.
More on this replacement here
This sample script pulls only certain data from a scanned V-card barcode. This allows you to parse out only the necessary information from the scanned data.