Next let’s set up the “Contract” tab.
You'll display the customer’s contract on it and provide a space where the customer can sign using their finger on the iPad.
Set up the “Contract” tab with new fields that contain a contract and a signature.
- Choose the View menu > Layout Mode ⌘L or Ctrl-L
- In the Field Picker dialog box, click the + New Field button.
- Name the new field Contract and press the Enter key.
- Make sure that the field type is set to “Container”.
- Repeat steps 2 to 4 to create a second container field named Signature.
- In the Drag Options area, change the Field Placement option to vertical.
- Change the Labels option so that labels appear on the left.
- Hold down the Command key to select the Contract and Signature fields at the same time.
- Drag them onto the Contract tab.
They should look something like this:
- Select just the “Contract” label (to the left of the “Contract” field) and delete it.
- Select the “Contract” field.
- Open the Inspector and choose the Data tab.
- In the Data Formatting area of the Inspector, under Optimize for, choose the Interactive content radio button.
Later on, you will be storing a PDF file in the Contract field. This setting allows the user to interact with that PDF.
- Move, resize and align the two fields fields to look like the screenshot below.
The “Contract” field should be very large, going right out to the edges of the tab control (but not beyond).
Great, the “Contract” field is ready to go now! It may not look like much at the moment, but when you store some actual PDFs in it, it will come to life.
IMPORTANT: Any objects not completely contained by the borders of the tab control are treated as though they are floating on top of it. As you switch from tab to tab, the objects will look like they appear on every tab. To fix this, move them completely onto the tab. The act of moving them establishes that they belong on the tab control.
- If you see this problem — for example with the “Signature” label — just move the problem objects until they are completely contained by the tab control.