Skip to content

HTML Template editor

The HTML Template editor tab is where you build the HTML form: the pages the client goes through, and the sections, rows and columns that hold the fields. The form adjusts to the client’s screen.

To open it, click the HTML Template editor icon in the tab bar of the template. It’s the first tab that opens for an HTML template. For the toolbar, saving and the other tabs, see The template editor.

The tab has two parts: the form structure on one side, and a side panel. When nothing is selected, the side panel shows the field palette. When you click a page, section, row or field, the side panel shows its settings. To go back to the palette, click Close or the X at the top of the panel.

The HTML Template editor: sections with rows of fields on the left, and the field palette on the right

Level What it holds
Intro The welcome page, shown before the first page. See Intro and Outro.
Page One or more sections. The client moves between pages with the navigation buttons at the bottom of each page.
Section One or more rows, and an optional title.
Row One to three columns.
Column Fields, one under the other.
Outro The thank-you page, shown after the form is submitted. See Intro and Outro.

The columns of a row have the same width. On a wide screen they are shown side by side, and on a narrow screen, such as a phone, one under the other. If every row has one column, the form is shown as one column on every screen.

When you point to an element, it’s highlighted: a page in green, a section in pink and a row in yellow. The selected element has a blue border.

The titles, colors and other settings of pages, sections and rows are described in Page, section and row settings. The texts of the navigation buttons are set in Configuration > Basic.

To add Do this
A page Click Add page at the bottom of the form. A new page has one section.
A section Click Add Section at the bottom of the page. A new section has one row.
A row at the end of a section Click Add Row at the bottom of the section. A new row has three columns.
A row after a specific row Click the arrow icon under the row’s drag handle, on the side of the row.
A column Click + at the end of the row. A row can have up to three columns, so + is hidden when the row has three.

Every new page, section and row gets an ID automatically. You can change it. See ID.

  1. On the Add Controller tab of the palette, drag a field type onto a column. The field is added at the bottom of the column.
  2. Click the field to open its settings in the side panel. See Field settings.

The field types and the other tabs of the palette are described in Fields.

To place a field that is already in the template, for example a field of a row you deleted, drag it from the In Template tab to the place you want in a column. If the field is already placed in another column, the Move Element window shows where it is now. Click Move to move it.

In the editor, each field shows its icon, the first 20 characters of its question, a preview of its input and its description. A field without a question shows its ID in red.

While you add fields to a control group, clicking a field adds it to the group or removes it, instead of opening its settings. The fields of the group are highlighted. See Control groups.

To move Drag
A field The field, to another place in its column or to another column.
A row Its drag handle (the grip icon on the side of the row), to another place in the section or to another section.
A section Its drag handle (the grip icon on the side of the section), to another place in the page or to another page.

You can’t drag pages.

When you move a section or row that is repeated by the data model, the warning “This element uses a repeater model. Moving it may affect form behavior.” is shown. See Repeat a page, section or row.

When the template is edited page by page, you can move elements only inside the page that is shown. See Edit large templates page by page.

Right-click a field, row or section to open its menu:

Right-click Menu item What it does
A field Clone Adds a copy of the field next to it, in the same column. The copy has a new ID and the same settings.
A field Save field as template Saves the field as a saved object.
A row Save row as template Saves the row and its fields as a saved object.
A section Save section as template Saves the section, with its rows and fields, as a saved object.

The right-click menu of a field in the HTML Template editor, with Clone and Save field as template

Clone in this menu makes an independent copy of the field. It’s not related to the Field Clone setting, which makes a field show the value of another field.

The save items are shown when saved objects are included in your organization’s plan. Without them, the menu of a field has only Clone, and right-clicking a row or section opens no menu. When the object is saved, “Field saved as template”, “Row saved as template” or “Section saved as template” is shown.

  • The Dependencies of the fields are not saved with them.
  • A field that has Field Clone set can’t be saved on its own: “Cannot save a cloned field” is shown.
  • A row or section can be saved only if it has fields, and if every field in it with Field Clone copies a field of the same row or section. Otherwise “Failed to save — check that fields do not contain external clone references” is shown.

In this version, you can’t add a saved object to a template: the Saved Objects tab of the palette shows “Coming soon”.

To delete Do this
A column Click the X at the top of the column. The column is deleted at once, without a confirmation.
A row Click the trash icon at the end of the row. If the row has fields, click Delete in the Delete row window. Or select the row, click Delete Row and then Delete.
A section Select the section, click Delete Section and then Delete.
A page Select the page, click Delete Page and then Delete.
A field Click the field and click Delete Field. See Delete a field.

When you delete a column, row, section or page, its fields are not deleted. They stay in the template, and you can place them again from the In Template tab. Only Delete Field removes a field from the template.

Nothing is deleted on the server until you save the template.

When Edit HTML templates by page is on, the editor shows one page at a time:

  • To choose the page, select it in the Page list at the top of the structure. Its settings open in the side panel. A page without a title is listed as “Page:” and a number.
  • When you add a page, the editor shows the new page.
  • When you open a field from the In Template tab or from the Issues tab, the editor shows the page of the field.
  • You can’t drag sections, rows or fields to another page. To move a field to another page, show that page and drag the field from the In Template tab.

Cellosign turns this on automatically when you open or save an HTML template with more than 500 fields and more than one page. See Edit HTML templates by page.

The HTML Template editor tab is also shown for PDF templates. When a PDF template has no HTML form yet, the tab shows Create HTML Template. Click it to create one page with one section, one row and one column that holds all the fields of the template, sorted by their distance from the top of their PDF page. Then arrange the fields as described on this page, and save the template.

The template stays a PDF template, and the fields stay on the PDF. See Hybrid templates.