Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Drag a panel from the palette and drop it on the designer canvas below the Your Manager Is control. We will refer to this as the main panel.
  • Drop a text control inside the main panel. Uncheck the visible property for this control. Name this field FirstPlusInitial. This control will not be visible on the form. We will use a rule to combine the new employee's first name and middle initial and populate this field with that information. Then we will map the FirstPlusInitial field in the mapper for the W - 4 pdf later in this tutorial.
  • Drop two more panels into the main panel ABOVE the FirstPlusInitial control. Change the widths of these two panels to 55% and 39% respectively.
  • Drag and drop a text control with a label of First Name inside the first panel and a text control named Initial into the second panel. Check the required property on the FirstName field but do not make the control named Initial required. 
  • Add a text control to the MAIN panel underneath the FirstPlusInitial control. Label it Last Name. Check the Required Property.
  • Add a text control to the MAIN panel below the LastName - name it SSN. A pattern can be used to ensure the correct format number for the Social Security Number. Here is an example of a valid pattern: \d{3}-\d{2}-\d{4}. Apply this pattern to the field by typing it into the Pattern field on the Control property pane. Make sure the required property is checked. 
  • Add a phone control below SSn in the MAIN panel. Name the control Phone. Help text showing different formats for the phone number is provided when you add the control to the form.

Here is what the MAIN panel should look like at this point:

 Image Added

 

.   9. Click on the Rules button on the designer toolbar to access the Rules Editor. Click the icon then the icon to open the Rules validator screen. Give your rule a name. Copy/Paste the rule below into the rules canvas. Click the Control button in the designer toolbar to return to the form. Your rule will be saved.

...