You can design forms in InDesign and export them directly to PDF. InDesign now supports form fields and additional form actions. The Buttons and Forms library (Window > Interactive > Buttons and Forms) has form items that you can use to design interactive forms.
Using InDesign you can create simple forms within InDesign, without needing to touch up the PDF document in Acrobat after publishing. You can add simple form elements within the document pages. Common field types such as text fields, radio buttons, check boxes, or signatures are supported. You can also add actions to submit the form by email or to print it.
In addition to the basic design, you can also use creative capabilities in InDesign to add a designer touch to your form.
- Add solid strokes and fills to the PDF form fields.
- Add custom On, Off, and Hover states for buttons, check boxes, and radio buttons.
- Specify font size for text input fields.
For example, to collect credit card information, you could use credit card icons as radio buttons, with a different image for the selected state.
For advanced form workflows, you can export the basic form and then continue editing it in Adobe Acrobat.
Add a form field
Use the Buttons and Forms panel to add form fields to the layout. The procedures to add interactive form fields are the same as adding buttons so that you don't have to learn new procedures. You can create a form that works with Adobe Reader or Adobe Acrobat. Using InDesign, you can create some cool forms that you can’t ordinarily using Acrobat.
- Place a frame at the location where you want to place the form field.
- Open the Buttons and Forms panel (Windows > Interactive > Buttons and Forms).
- Select the frame and from the Type list choose a form element type. Alternatively, right-click a frame and choose Interactive > Convert to [...]
- Enter a name for the form field. To create a radio button group, all the individual buttons must have the same name.
- Choose an event and add actions to associate with it. Actions such as Clear Form, Print Form, and Submit Form have been added. In the Submit Form action specify the URL as "mailto:email@example.com.
- For a radio button, check box, or buttons: set appearance attributes for different states. InDesign adds default graphics for the various states, but you can add your own.
- Specify PDF options:
- Description - Entered value is displayed as the tool tip and is used for creating accessible forms
- Button Value - this value corresponds to the export value in Acrobat and can also be used to identify a radio button in a group in a accessible form.
Specify tab order
To create user friendly and accessible forms, it is necessary to assign a usable tab order. Users can navigate through the form fields without using a pointing device. Pressing the Tab key shifts the focus to the next logical field.
There are two methods of specifying a tab order in a tagged PDF:
- Use the Articles panel (Windows > Article) to specify a custom tab order
- Choose Object > Interactive > Set Tab Order.
To enable screen readers to use the specified order, from the Articles panel menu, enable Use for Reading Order in Tagged PDFs. Remember to enable the Create Tagged PDF option while exporting the PDF.