Good day
I have figured out how to calculate a Unique Form ID. However, I would like to insert this calculated Unique ID into a text box so it can be easily selectable to copy. This is for use in the Collect App, which does not allow one to select static text that is displayed. So therefore, if it can be inserted into a text box by default, the user should be able to select and copy it into another platform for record keeping.
Any assistance would be appreciated, thanks.
Welcome to the community, @johnnie_tolken! If you wish to have the calculated value in the text question type you will need to have the following settings:
- A text question
- In the text question, you will also need to have a calculation column header where you can have the value of the calculate question type which holds the unique ID
Hi Kal_Lam. That worked thank you! Did struggle a bit to understand initially, but here are my steps:
Setup a calculation question as follows: name = Survey_ID_Calc, calculation = once(substr(uuid(), 0, 7)) > which creates a unique ID per form.
Then, setup a text question thereafter: name = Survey_ID.
Then for Survey_ID text question, add: calculation = ${Survey_ID_Calc}?
Bobs your uncle.
1 Like