OnScan

The OnScan event occurs when RFgen identifies a preamble string in the data stream coming from a client device. This event is typically used to validate that data was scanned, or to parse the data (PDF, RFID, etc.) into a more usable format. To reject the data scanned, set the ScanData = “” and RFgen will remove it from the data stream and prevent it from being entered into the current prompt.

Group:   Events

Applies to:   Application, Prompts

Syntax:   

OnScan(ScanData)

ScanData       (String) is the value scanned by the user on the client device.