π·οΈSuffixes and prefixes
Convert an open text label into a suffix or prefix
Create your open text question and set a custom label.

Copy and paste the following code into the Javascript editor within the page.

How to use it...
Then, you will need to change this part of the code with your actual parameters.
question code is the code of your open text.
type is the modifier that allows you to specify whether the label should be converted to prefix or suffix.
Once done, you should save changes by clicking the save button in the Javascript editor.
Variables
question_code
The name of the open text where you want to convert it's label as prefix or suffix.
type
The type of label you want. It can be prefix or suffix.
if type is not defined, the default value will be suffix.
Examples
The label you have just modified will go from looking like this:

To look like this when the label is converted to a prefix

or to this other design, in case it has been converted to a suffix.

Last updated
Was this helpful?