![]() |
![]() ![]() ![]() |
IESnifferAutoFillUserInfo component.
|
type
|
TIESnifferAutoFillTokens = class(TPersistent)
|
published
|
property Super: String;
|
property ExactNameField: String;
|
property Possible: String;
|
property Wrong: String;
|
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;
|
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.
|
|
![]() |
AutoFill, AutoHighlight, Fields and CustomFields properties;
|
Fill method.
|