NightWing Enterprises Demo for FileMaker Pro 10
|
Fixed Length Fields and Input Masking!
|
Text Controller
For FileMaker 10
As a courtesy to fellow developers and potential clients, the
following demonstration file is provided for free download.
|
Web pages and databases often provide fixed length fields that prevent the user entering more than a prescribed number of characters - and on occasions, a group of fields is provided and linked so that when the required number of characters is entered into the first cell (field), the cursor automatically advances to the next cell. In the past, creating FIleMaker interfaces in this way has been challenging.
This demo harnesses the power of Script Triggers in FileMaker 10 to provide seamless control of data entry into a single field or a group of fields. With a single field, you can specify a hard limit so that users will be prevented from entering more than the maximum number of characters you specify. Unlike field validation, this system is pro-active - it beeps and prevents the entry of further content as soon as the limit is reached.
This demo also includes field mask sets that automatically parse inputs across a series of fields (standard fields, related fields or repeating fields), where a specified character set is enforced and the number of characters permitted in each segment is stipulated. Whether the user types data in directly or pastes from the clipboard, the input will be apportioned between the fields in the group according to the "mask" you create.
As an adjunct to the functionality shown in this example, a script is included that will simultaneously clear multiple fields. If the script receives a parameter listing fields to be cleared, it will clear each of the listed fields - if it receives no parameter, it will automatically clear *all* fields on the current layout.
This demo file is unlocked and password-free, compliments of NightWing Enterprises. The use of this technique is free for private and educational purposes. Use for business or commercial applications is subject to license (pricing on request).
|
|
|
NB: Should you require assistance implementing procedures such as those shown in our
example files, please consider establishing an account with us for developer support.
|
|