Open the topic. Place your cursor where you want to insert the field.
- RoboHelp User Guide
- Introduction
- Projects
- Collaborate with authors
- PDF Layout
- Editing and formatting
- Format your content
- Create and manage cross-references
- Create and manage links
- Single-source with snippets
- Work with images and multimedia
- Create and use variables for easy updates
- Work with Variable Sets
- Use Find and Replace
- Auto save your content
- Side-by-side editing in Split View
- Use the Spell Check feature
- Create and Edit Bookmarks
- Insert and update fields
- Switch between multiple views
- Autonumbering in CSS
- Import and linking
- TOCs, indexes, glossaries, and citations
- Conditional content
- Microcontent
- Review and Collaboration
- Translation
- Generating output
- Publish output
- Publish to a RoboHelp Server
- Publish to an FTP server, a Secure FTP server, or a File System
- Publish to SharePoint Online
- Publish to Zendesk Help Center
- Publish to Salesforce Knowledge Base
- Publish to ServiceNow Knowledge Base
- Publish to Zoho Knowledge Base
- Publish to Adobe Experience Manager
- Publish to Atlassian Confluence Knowledge Base
- Publish to a RoboHelp Server
- Appendix
Learn how to create, edit, and manage a field and insert a field in a topic in RoboHelp.
Fields are the unique variables, which display information based on their type. For example, they can display the current date, time, or current file name, etc. You can insert fields in topics and snippets. Various categories of fields allow you to display system, file, or project variables in your output.
Insert a field in the file
You can insert fields, such as date, time, title, and more, in topics.
-
-
In the Author toolbar, click the Insert Variables/Snippets/Fields icon , and then click Field. The Fields dialog box opens. Alternatively, press CTRL+3 to open the Fields dialog box.
-
In the Fields dialog box, select field type in the left list and then select its format in the right list. For example, if you select the Field as Date, then select the format as DD-MM-YYYY, or MM/DD/YY, etc.
-
Navigate to the field that you want to insert and select it.
-
Click Insert. The field is inserted into your topic.
-
Click to save your work.
Edit a field in the topic
You can edit fields that you have inserted into a topic. To do so, follow the below steps:
- Open the topic that contains the field.
- Double-click on the field that you want to edit.
- In the Fields dialog, make the necessary changes.
- Click Insert. The updated field gets inserted.
Remove a field from the file
You can delete fields that you have inserted into a topic. To do so, follow the below steps:
-
Open the topic containing the field.
-
Right-click the field that you want to delete.
-
From the context menu, select Remove Field. The field is removed from the topic.
-
Click to save your work.
Work with Fields
There are various field options to work with, such as Date, Time, File, Title, Project Title, and more:
Date Allows users to enter a date, including day, month, year, or combinations of the day, month, and year.
Time Allows users to enter a time of day, including hours, minutes, and seconds using any custom time field. The time displays in a 24-hour notation with AM or PM.
For example, you can select a time value in hh:mm:ss A, 14:40:10 PM, or M/D/YY H:mm, 3/30/20 14:40.
File: Displays the file name of a topic.
Title: Displays the title of a topic.
Project Title: Displays the title of the project.
Chapter Title: Displays the title of the chapter. It is relevant only for the PDF and Word output formats where content is organized in the chapter structure as per the TOC.
Add a new format to a particular field
You can add a new format to a specific field following the below steps:
-
In the Author toolbar, click the Insert Variables/Snippets/Fields icon , and then click Field. The Fields dialog box opens. Alternatively, press CTRL+3 to open the Fields dialog box.
-
In the Fields dialog box, click to create a Field. The new format dialog box opens.
-
In the field, you can specify a format for how the specified field is displayed. As you do this, the example is displayed below the field in that format.
-
Click Ok.
The new format for the specific selected field is created.
Delete a format from a particular field
-
In the Author toolbar, click the Insert Variables/Snippets/Fields icon , and then click Field. The Fields dialog box opens. Alternatively, press CTRL+3 to open the Fields dialog box.
-
Select a particular Field type and then hover on the format that you want to delete. Click to delete the selected format.
-
The selected format is deleted.
Edit a format of a particular field
-
In the Author toolbar, click the Insert Variables/Snippets/Fields icon , and then click Field. The Fields dialog box opens. Alternatively, press CTRL+3 to open the Fields dialog box.
-
Select a particular Field type and then hover on the format that you want to edit. Click to edit the selected format.
-
The selected format is edited.
Reset to Default
You can use the Reset to Default option to restore the list of field formats back to RoboHelp's default set.
Click the Reset to Default icon in the upper-right corner of the Fields dialog box.
Auto-update fields
With the "Auto-update this field" option selected, RoboHelp will keep the inserted field up-to-date based on its most recent value. For example, select this option while adding a File Title field to use the latest file title in the File Title field or Unselect it to use the file title value at the time of insertion.
-
Open the Fields dialog box and choose the field format you want to auto-update.
-
Check "Auto-update this field" at the bottom of the Fields dialog box. The respective field format would be automatically updated on a given topic.