Radio button groups in 3B Sign

What a radio group is

A radio group asks the signer one question and offers a fixed set of answers, of which exactly one can be chosen. Selecting an option clears whatever was selected before.

The important thing to understand before you build one is that a radio group is one question made of several separate markers. Every option is placed on the page individually, so you can put each circle exactly where the printed text for that answer already sits, even on different pages of the same document. They only behave as a group because they share the same answer.

That has consequences you can see throughout the builder:

Creating a radio group

  1. Drag Radio from the field palette onto a page. This creates a group with its first option.
  2. Add more options in either of two places:
    • Hover the option on the page and click the + button, or
    • Open the option's settings and click Add option.
  3. Drag each option to where it belongs. Options can sit anywhere, including on other pages of the same document.

Moving an option to another page

From version 9.2.0, you can move radio options between pages using a page selector or by dragging. New options are added to the same page as the option you added them from.

When you drag an option to another page:

New options are placed below the one you added them from and cascade down the page. When a column reaches the bottom of the page, the next option starts a new column to the right rather than stacking on top of the last one. This matters when you map to a picklist with many values.

Rename an option by clicking its label on the page, or in the option list in the settings panel. The group's own label is edited in the bar above the option, or as Label in settings.

Group settings and option settings

Setting Applies to Notes
Label The whole group The question. Shown as the step title in the signing form.
Salesforce Field The whole group The field the answer is written to.
Required The whole group Blocks submission until exactly one option is chosen.
Read-only and Pre-populate The whole group Behave as they do for other field types.
Default Value The whole group Type the value of the option to pre-select. For an unmapped group this is the option's label; for a mapped group it is the Salesforce API value.
Option label One option What that circle means. Each option has its own.
Size One option Options are resized independently, so one can be larger than the others.
Position and page One option Each option is placed on its own.

Changing a group setting on any option changes it for all of them, so it does not matter which option you open.

Deleting

Unique option values

Every option in a group needs a distinct stored value. From version 10.11.0, the settings panel rejects a value another option already uses and shows an inline error. The option keeps its previous value until you enter a unique one. Values are compared without surrounding spaces, so Yes and Yes count as duplicates.

For an unmapped group, editing the label also changes its value, so labels must be distinct too. A mapped group keeps its Salesforce API values when you change the display labels.

Older saved documents may already contain duplicates. Save is blocked until these are corrected, and the error names the affected groups. Open each group's settings and give its options distinct values. This prevents selecting one answer from marking two circles as selected in the document and PDF.

Mapping to a Salesforce field

A radio group can be mapped to a picklist or a multi-select picklist on the context object. Those are the only supported types, because a radio group presents a fixed set of values and picklists are what define one. Checkbox and text fields are not offered.

When you choose a Salesforce field, the field's values are brought in as the group's options automatically:

To offer only some of a picklist's values, delete the options you do not want after mapping. To go back to a standalone group, clear the Salesforce Field. The options keep their current values and labels and become editable again.

Changing the mapped field

Choosing a different Salesforce field re-imports its values. This replaces the values and labels of every option, including labels you have customised, and removes any options the new field does not have, along with their placement on the page. There is no confirmation prompt, so change the mapping before you spend time positioning options.

Multi-select picklists

A multi-select picklist can hold several values at once, but a radio group represents a single answer. Two behaviours follow from that, and both are worth knowing before you use one:

Map to a plain picklist unless you specifically need the multi-select field populated.

The signer experience

Pre-population

If the group is mapped and Pre-populate is on, the record's current value selects the matching option when the document opens. If the stored value matches no option, nothing is selected rather than an arbitrary option being chosen. An answer the signer has already given is never overwritten.

For a group with no mapping, use Default Value to pre-select an option.

Tips