Calculate field codes in background

  • Asked
  • Active
  • Viewed 2744 times
0

Hi,

I would like to know if and how it is possible to create fields that are automatically calculated in the backgound for each observation but which will not appear in the collect mobile survey.

In my concrete case, I require three distinct field codes for each individual but in the collect mobile survey, I would like to have displayed only a single one of these while the other two should be calculated in the background. For the export, I require all three of them.

Thanks a lot in advance, Jan

0

Accepted answer

Dear Jan,
In the survey designer you can mark an attribute as "Calculated", uncheck the option "Show in entry form" and then specify how to calculate the value in the "Calculated Value Expressions" section, similarly as when you define a default value for an attribute.
alt text alt text

If you look at the Collect user manual, you will find some examples of the most common expressions to use.
Many thanks,
Open Foris Team

Your answer

Markdown text. Shortcuts: Ctrl+B bold, Ctrl+I italic, Ctrl+K link, Ctrl+E code, Ctrl+Shift+V paste as plain text. Tab indents list items and code; press Escape, then Tab, to leave the text box.

Insert an image

Say what the image shows, for people who can't see it.

Menu

Keyboard shortcuts

Anywhere

?
Show this list
/
Search
g h
Go to the home page
g q
Go to the questions
g t
Go to the tags
g u
Go to the users
a
Ask a question

Lists of questions

j k
Next or previous question
Enter
Open the question

Question pages

j k
Next or previous post

Shortcuts never apply while you type in a text field. Members can turn them off in their preferences.