...
- Click the Edit icon for the Leave Approval Form to add the Leave Request section. You may notice the Employee Information section is collapsed in the images for this section.
- Drag and drop a Section control below the Employee Information section. Look for the green down arrow. Name it Leave Request.
- Drag a Date control from the palette and drop it into the Leave Request section. Change the label to Start Date. Change the width to 6 columns.
- Drag a Number control from the palette and drop it into the Leave Request section to the right of Start Date. Change the label to Number of Days. Change the width to 6 columns.
- Drag a Radio control from the palette and drop it under the Start Date field.
- Change the control label to TypeofLeave Type of Leave and add these choices for the options:
- Annual=Annual Leave
- Floating Holiday=Floating Holiday
- Sick=Sick Leave
- Compensatory=Compensatory Leave
- Other=Other Leave
- Check the comment box and specify 1 as the number of rows.
- Click the Style tab and add a value of 30% to the Item Width. This changes the layout of the options from vertical to horizontal.
- Create the Certification question that will appear when the employee checks the Sick Leave option by dragging a T/F control from the palette and dropping it below the Type of Leave control.
- Change the label to say "I certify that the above listed leave was entirely due to personal illness"
- Uncheck the Visible checkbox on the Certification field. This field is not visible on the form unless the Employee selects Sick Leave as the Type of Leave. This will be handled by a rule discussed later.
- Drag a Textarea control from the palette and drop it below the Type of Leave control inside the Leave Request section when you see the green down arrow.
- Change the label to Comments.
- Select the section by clicking on its header.
- In the properties panel, select the Security Tab.
- This is considered a Signed Section. Two types of signatures are available from the Signature drop down: Text/Signature Image or Wet Signature. Here is information about the difference between the signature types. Select Text/Signature from the dropdown.
- Check the Must Sign checkbox to require the signature and verify that the Lock checkbox is checked to prevent tampering with the signed data .
- Notice that a "Sign this section" button and an X with a line appear at the bottom right and left of the section when the signature type is selected.
- The Employee will have to sign the section before it can be submitted.
- Click the Save and exit icon to save work you have done so far.
...