How Do I...

Test using the Form Input Checker

Start external programs No tip for this topic Example: Check social security entries Make reusable forms

You can use the Form Input Checker to validate the data type of user input in child parts. Child parts are parts contained in an entire window, form, group box, or other parent part.

The Form Input Checker initiates the checking when an event, such as pressing a push button, occurs. If the user enters an incorrect data type, it displays a message box notifying the user of the incorrect entry.

One way to initiate the checking follows:

  1. Open a Composition Editor on your visual part.
  2. Place a Form Input Checker part Form Input Checker icon on the free-form surface. The part is in the Data Entry category.

Now, make the following connections:

When you use your application, if you enter invalid data in child parts of the parent part, a message prompter is displayed. If you enter valid data, the action specified for the checkSucceeded connection runs.


[ Top of Page | Previous Page | Next Page | Table of Contents ]