Versions Compared

Key

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

...

Create the Allowances Form

In this tutorialform, we  we will collect information for the Personal Allowances section of the W - 4 Employee's Withholding Allowance Certificate. The section is shown below. The  will e-form will have controls for the A, C, D allowances and a control to calculate store the total allowances for the number of allowances designated by the new employee.

Create a simple form to collect this information. Here is an example.  We will map the data in these fields, along with some others, to the W - 4 pdf later in this tutorial.

...

Drag three Quantity controls from the palette and drop them on the designer canvas. Name them A_Allowance, C_Allowance and D_Allowance respectively. Type the instructions for A, C and D allowances as the labels for these controls. Add a fourth Quantity control where the result of the calculation of the total allowances can be stored. Name this control Total_Allowance Allowances and type "Total number of allowances you are claiming" as it's label. Uncheck the Enabled property for this control.

...

We will use rules to calculate the total allowances and fill in the current date. Here's an example of a rule that will add the values for the A_Allowance, C_Allowance and D_allowance controls and store it in the Total_Allowances field. Use the Rule Validator to troubleshoot any issues.

...