Editing a fragment

One of the main advantages of fragments is that you can add them to many forms, but when you need to make a change, you only need to make it in one place. In this section, we will edit the POInfo fragment.

First, you will add the fragment to the Purchase Order Dynamic Interactive.pdf form so that you can see the effect on more than one form design when you edit the PO Info fragment.

  1. Open Purchase Order Dynamic Interactive.pdf.

  2. Select and delete the P.O. Number and P.O. Date objects.

  3. In the Fragment Library palette, drag the POInfo fragment onto the form design.

  4. Save the form design as My PO Dynamic Interactive.PDF .

  5. Right-click the POInfo fragment reference and select Fragments > Edit Fragment. The POInfo fragment source file opens and you can now edit the fragment.

  6. Replace P.O. Number with P.O. No and then save the fragment.

  7. Open the My PO Interactive.pdf and My PO Dynamic Interactive.PDF sample forms. The fragment reference in both forms is updated.

You have just learned how to create and modify a fragment. In addition, you can convert a fragment reference to an embedded object or create an override on a fragment reference that only affects the fragment reference in the current form.

Next, we will take a closer look at the sample forms and review some interesting things that you can do with fragments.

Click to continue: Using fragments that contain script

// Ethnio survey code removed