iesnifferautofilluserinfo FillTokens property
Return to Introduction  Previous page  Next page
Applies to
IESnifferAutoFillUserInfo component.  

Declaration
type  
  TIESnifferAutoFillTokens = class(TPersistent)  
  published  
    property SuperString;  
    property ExactNameFieldString;  
    property PossibleString;  
    property WrongString;  
  end;  
 
  TIESnifferAutoFillUserTokens = class(TPersistent)  
  published  
    property FullName: TIESnifferAutoFillTokens;  
    property FirstName: TIESnifferAutoFillTokens;  
    property LastName: TIESnifferAutoFillTokens;  
    property Company: TIESnifferAutoFillTokens;  
    property JobTitle: TIESnifferAutoFillTokens;  
    property Email: TIESnifferAutoFillTokens;  
    property Phone: TIESnifferAutoFillTokens;  
    property Fax: TIESnifferAutoFillTokens;  
    property TaxIDNumber: TIESnifferAutoFillTokens;  
    property AddressLine1: TIESnifferAutoFillTokens;  
    property AddressLine2: TIESnifferAutoFillTokens;  
    property City: TIESnifferAutoFillTokens;  
    property State: TIESnifferAutoFillTokens;  
    property ZipCode: TIESnifferAutoFillTokens;  
    property Country: TIESnifferAutoFillTokens;  
  end;  
 
property FillTokens: TIESnifferAutoFillUserTokens;  

Description
The FillTokens structure can be used to specify custom "tokens" of the fields which can be automatically filled with values in Fields structure.  
 
When the component find on the Web page some input box, it checks whether its name attribute (in HTML tag) and the text prior to that input box. If the text nearby contains one of the words described in "Possible" property AND do NOT have the words described in "Wrong" property, OR contains one of the word specified in "Super" property, OR the field name is the one of the word specified in "ExactNameField", then the input field can be automatically marked, or filled with the proper text, taken from Fields structure.  
 
tip To specify custom fields/tokens, i.e, bank account information, social security number, or something else — use CustomFields property.  

See also
AutoFill, AutoHighlight, Fields and CustomFields properties;  
Fill method.