Skip to content

Collections and Collection index

In Aliveforms, collection is list of visitor input in form. When form is created, form creator requires to explicitly check which screens input is required to be collected. This is because a form creator may display question that form creator doesn't require to collect, for example junction screens etc. That's why in Aliveforms, it is required to explicitly set the collect input option

How to collect input of screen

In Aliveforms, input screens like text, list, options, rating can be collected by checking Collect Input option.

Why it is required to explicitly set the collect input option?

A form creator may display question that form creator doesn't require to collect, for example junction screens etc. That's why in Aliveforms, it is required to explicitly set the collect input option

What is collection index?

Have a look at this example

Screen Type Purpose Collect
0 Information Show info No
1 Text Input Collect Name YES
2 Options Continue? Yes/NO No
3 Rating Rate Product A Yes
4 Rating Rate Product B Yes
5 Submit Submit form NO

Now, screen 1,3,4 are collectable. When user fills the form like

Nabeel, No
Ali, Yes,5,5

The collection will be

'Nabeel', null, null
'Nabeel', 5, 5

And collecion indices are

0: 'Nabeel'
1: null
2: null
0: 'Nabeel'
1: 5
2: 5

Usage of collection index

Collection index is required mostly in integrations where collection tags are required to setup.

Note

The collection index is index of collection list not screens list.