Result in Percentage

Hi Team,

We need to achieve below criteria

When the user enters the values like for example (10,20,30,……) the result should be displayed in percentage like(10%,20%,30%,…….).Could you suggest on this.


Hi @msupriya
What you enter is probably what you would get out. So for you to achieve this, I would suggest you try the following

  1. Add an additional note question and then pull the results from the entered values as part of the text for the note
    e.g ${Question}%
  2. Create a follow-up text question and add a “calculation” column to your form where you put the following concat(${Question},"%").

PS: Change the {Question} with the {name of the question for which you are entering the values}.


1 Like

Hello @msupriya,
In addition to the solution of @stephanealoo, the 2nd question should be set read_only = true.

You might also regard other options, like:

  • Let the user enter a % (and control entry format with regex)
  • If the % choices can be fixed, used a select_one type with … % as labels (and maybe appearance minimal)
  • Just write in the question label: … value in % (or as hint text).
    Best regards

Hi @msupriya,

Backing up on what @wroos as advised, you could do the same as outlined below:

In the survey tab of your xlsform:
Image 1

Data entry screen as seen in Enketo:

Reference xlsform:
Display % using regex.xlsx (10.2 KB)

To learn more on regex, please feel free to have a look at our support article Restricting text responses with regular expressions.

Have a great day!