Custom items are never visible on the form but can be referenced by form computes and can contain custom options. Use custom items to integrate the form with other applications. For instance, you might be submitting the form to a CGI script that requires information about where the form should be sent next. You can store this type of information invisibly in a custom option in the form. Using custom items allows you to store any alphanumeric (ASCII) information in a form. You cannot store things like images, database files, or other non-ASCII information. In most cases, the information will only be accessed by your applications — the Designer and Viewer will ignore custom information. However, computes in custom items and options work normally.
To add a custom item to a form: in the Palette or use the Source
panel editor to write the appropriate XFDL yourself. This means you must be familiar with the XFDL language and be able to code XFDL yourself. Alternatively, you may prefer to use custom options to store your information as the Designer can help you create those options.
When you are defining a custom item type, you can add either normal XFDL options or custom options.
- In the Advanced Library, click Custom Item and drop it into the form.
The custom item appears in the Outline view, but is not visible on the form itself.
- To set the custom item:
- In the Properties tab, you can adjust the Local Name, Prefix and Value fields.
- Open the Source view and insert your own XFDL code.
For detailed information about custom item usage details, see the XFDL Specification
Parent topic: Integrating with other systems