Repeatable Question Row Answer
- What is it? Access a single row of questions from a repeatable question.
Limitations
This logic will fail if the repeatable section contains a textarea question with a response that spans multiple lines.
It is still not possible to get the answer for a single question from the repeatable section.
The row number has to be determined at form setup and may or may not have been answered by the customer
Inputs
This formula has two settings, a mapping to the repeatable question and the row number to return.
Return values
Value | Description |
---|---|
string | String containing the customer responses, each response is separated by a comma |
Note: return values are case sensitive
Formula Logic
-
The repeatable question input is split on new line characters, producing an array of rows
-
If the row number to return is set in the array that row is returned, otherwise an empty string is returned.