...
Logon to your tenant as the designer.
- Click the New icon to add a new application.
- Click the Properties icon. Change the name of the application to My Company HR. Click Update.
- Click the Edit icon for the My Company HR application.
- Click the New icon to create the Leave Approval form.
- The New Form wizard displays listing any forms that have been published as templates. SInce there are none listed, click Finish to accept the Blank template for your form..
- Change the name of the form to Leave Approval Form on the form Properties pane.
- Drag a Message control from the palette and drop it onto the canvas when you see the green double drop arrows.
Change the Message text to Leave Approval. Change the Message Type to None by selecting it from the dropdown.
Click the Style tab on the Properties pane for the Message control. Type blue for the Background color, white for the Label Color. Select large for the Label Size. Check the Bold and Center checkboxes, if desired.
Drag a Section control from the palette and drop it below the Message control. Look for the green up arrow.
- Drag a Text control from the palette and drop it into the Section control when you see the green double drop arrows.
- Click on the properties tab for this text control. Click on the Styles tab. Change the width of the control by selecting 6 columns on the grid
- Check the Required property on the Settings tab for the First Name control.
- Drag a second text control from the palette over the first name and drop it when you see the right green arrow. This should position the second text control to the right of the first one.
- Click on the second text control label and change the label to Last Name.
- Drag a third text control from the palette over the Last Name control. Drop it when you see the right green arrow
Click on the third text control label and change the label to Manager Id.
Drag an Email control to the right of the Manager Id control. Check the Required property on the Settings tab.
- Click on the Email control label and change the label to Email. Check the Required property on the Settings tab.
- Click the Preview Form icon on the designer toolbar to see how your form will look to users.
- Click the Close this Window now link to return to the designer from Preview mode.
- Click the Save and exit icon to save work you have done so far.
- Continue with the instructions to add the Leave Request Section to the form.
Create the Leave Request Section
...
- 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.
- Add Start Date and Number of Days controls.
- Drag a Radio control from the palette and drop it under the Start date field.
- Name the control TypeofLeave 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 that will be discussed later in the tutorial.
- 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 Wet 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.
...
- Click the Edit icon for the Leave Approval Flow.
- Click on the Rules icon in the designer toolbar.
- Click the plus icon to Create a new rule.
- Change the name of the rule to Sick Certification.
- Copy/Paste the rule below into the Rule box.
...