Zu Hauptinhalten wechseln

FV Decipher Unterstützung

Alle Themen, Ressourcen für FV Decipher benötigt.

 
decipher

Piping Open-Ended Responses

Overview

In order to function a pipe needs to know what text to insert, which is why the pipe tool can only utilize single-select elements, 1-dimensional select elements, text or number elements with only one field, or the autofill element. While the tool will not pipe the open-ended response to a text or number element with multiple answer options or an "Other (Specify)" text field, it is possible to do so by defining the pipe with HTML code.

1: Piping From a Text or Number Question

In the example below we will explain how to pipe in answer options based on open ended responses in a previous question.

1.1: Create the question that will be the source of the pipe

First, create the text or number question and enter the answer options. In this case we have a text question with 3 response fields. There must be a page break between this question and the one that will contain the pipe. Make note of the question number and the labels for the answer options.

Tip: If the row or column labels are not showing for your question, click on the "view options" menu and select "show labels".

1.2:  Create the question and the pipe

Next, add the question that will contain the pipe and click on "edit answers" to add the answer options. We want each of the answers the respondent entered in the previous question to appear as rows in this question. To do this, enter the HTML code ${question label.row/col label.answer value}, updating the highlighted portion with the appropriate question number and row or column labels for your question:

${q3.r1.val}
${q3.r2.val}
${q3.r3.val}

The pipe code will appear as the answer options for the question. The pipe cannot occur until a response is provided to the previous question. Test the survey to confirm that the pipes are functioning as desired.

1.3:  Test

Select "test survey" in the actions menu and locate the question with the open ended responses. Enter the test responses and continue to the question with the pipes.

The text entered in each of the rows of the previous question should appear as the answer options.

2: Piping From an "Other (Specify)" Answer Option

The steps below explain how to add a question that shows the answer options selected from a previous question that contains an "Other (Please specify)" row. The question will display the text the respondent enters in the "Other" text field, if "Other" is selected.

2.1:  Create the question that will be the source of the pipe

In this example you have a single-select question with several answer options, including r6 Other (Please specify) with an open-end text box. Since the open-ended response will be the source of the pipe if the respondent selects "Other," the open-end field should be set to "Mandatory."

There must be a page break between this question and the one that will contain the pipe. Make note of the question number and the label of the open-ended answer option.

Tip:  If the question or answer option labels are not showing, click on the "View Options" menu and select "Show Labels."

2.2:  Create the question and the pipe

Add the question that will contain the pipe. Enter the question text, instructions, and then enter the answer options from the source question including the "Other (please specify) option (q3).  Next from the "Row Actions dropdown menu select "Edit All Rows." In place of the "Other" answer option (r6), enter the HTML code ${question label.row/col label.open}, updating the highlighted portion with the appropriate question number and row or column labels for your question (i.e., the question and answer option that's the source of the pipe):

${q3.r6.open}

To learn how to show the answer options based on response, click here.

The pipe code will appear with the answer options for the question. The pipe cannot occur until a response is provided to the previous question. Test the survey to confirm that the pipes are functioning as desired.

2.3:  Add an alt label for the Report

Finally, you will set up an "alt" label for q4.r6 Other, so that "Other" appears in the report. This step is not necessary, if an alternative label is not set up the HTML code for the pipe will show for the row in the report.

To set up the alt label, click on the "Other" row that's set up as the pipe, and in the options panel click on the "More Options" menu. Select "alt" and enter the alternative text that you want to appear in the report. To learn more about using the "alt" option, click here.

2.4:  Test

Select "Test Survey" in the actions menu and locate the question with the "Other (Please specify)" open-ended field. Select the "Other" option and enter the test response, then continue to the question with the pipes.

The text entered in "Other" field of the previous question should appear as one of the answer options.