此Edit Box(编辑框)显示类型,允许用户在版面中直接创建一个可编辑框,用户可以在其中更改自定义标记值,自定义标记值将更新原始自定义标记和随后其他例子中的自定义标记。要创建一个编辑框自定义标记:
1. | Create a new Custom Token(创建一个新的自定义标记)带有或者不带有文本。 |
2. | 从Custom Token(自定义标记)窗口拖拽自定义标记到版面上,让其插入。 |
3. | 双击版面中的自定义标记,用以打开Editcustom token(编辑自定义标记)对话框。 |
4. | 更改Displaytype(显示类型)为Edit Box(编辑框)((图1942))。 |
Figure 19.42 The custom token display type is set to edit box.
5. | 点击OK。 |
此时,一个Edit box(编辑框)将出现在插入有标记的版面中的文本框内(图19)43)。
Figure 19.43 When the Custom Token Display type is set to Edit box, an editable box will appear in the layout. This one appears empty as the original Custom Token formula was not defined (i.e., left empty)
6. | 在Edit box(编辑框)中输入或者更改任何文本。 |
一旦在编辑框中输入一值,Custom Tokens(自定义标记)导航器中的自定义标记值将反映输入到Edit box(编辑框)中的值。可从Custom Token(自定义标记)窗口将自定义标记 拖拽到版面上的任何位置。当从Custom Token(自定义标记)窗口拖拽一个标记时,将使用“标签”的默认展示类型,因此只展示输入到Edit box(编辑框)中的值。当Edit box(编辑框)中的值进行了更新,无论自定义标记展示与何处,它也将更新(图19)。44)
Figure 19.44 The text of "John Smith" was entered in the Edit box. The value was updated in the Custom Token window and also in the secondary text box containing the token.