Good morning,
Â
I have a project where we are planning to script 4 maxdiff questions using the same design and being asked at the same time. Each task should be like this:
I used the free format code to program all tasks:
Task1_b1 is the best for “Justify pricing”
Task1_b2 is the best for “Adoption”
…
Task1_w1 is the worst for “Justify pricing”
Task1_w2 is the worst for “Adoption”
…
Â
This is the code that I used for the first line of the table above for your reference:
<td class="best_input_cell alt_color1 input_cell clickable"> [%RadioSelect(Task1_b1, MaxDiffDesignValue(MD1_1, 1))%] </td>
<td class="best_input_cell alt_color1 input_cell clickable"> [%RadioSelect(Task1_b2, MaxDiffDesignValue(MD2_1, 1))%] </td>
<td class="best_input_cell alt_color1 input_cell clickable"> [%RadioSelect(Task1_b3, MaxDiffDesignValue(MD3_1, 1))%] </td>
<td class="best_input_cell alt_color1 input_cell clickable"> [%RadioSelect(Task1_b4, MaxDiffDesignValue(MD4_1, 1))%] </td>
<td class="item_text_cell alt_color1" width="100%"> <div class="item_text"> <center> [%MaxDiffDesignLabel(MD1_1, 1) %]</div>Â </center> </td>
<td class="worst_input_cell alt_color1 input_cell clickable"> [%RadioSelect(Task1_w1, MaxDiffDesignValue(MD1_1, 1))%] </td>
<td class="worst_input_cell alt_color1 input_cell clickable"> [%RadioSelect(Task1_w2, MaxDiffDesignValue(MD2_1, 1))%] </td>
<td class="worst_input_cell alt_color1 input_cell clickable"> [%RadioSelect(Task1_w3, MaxDiffDesignValue(MD3_1, 1))%] </td>
<td class="worst_input_cell alt_color1 input_cell clickable"> [%RadioSelect(Task1_w4, MaxDiffDesignValue(MD4_1, 1))%] </td>
I have 4 identical Maxdiff exercises (MD1, MD2, MD3, MD4), so, at the end I can collect from the free format variables the responses for each one of those 4 exercises.
Â
This is working perfectly. But the problem is : this is a Maxdiff on the fly, so I have to program score and rank variables for pass them thru.
I scripted the score and rank variables, based on the MD exercises.
<input name="Score_MD1att1" id="Score_MD1att1" type="hidden" value="[% MaxDiffScore(MD1, 1) %] ">
<input name="Score_MD1att2" id="Score_MD1att2" type="hidden" value="[% MaxDiffScore(MD1, 2) %] ">
<input name="Score_MD1att3" id="Score_MD1att3" type="hidden" value="[% MaxDiffScore(MD1, 3) %] ">
…
Â
<input name="Rank_MD1Position1" id="Rank_MD1Position1" type="hidden" value="[% MaxDiffRankAttValue(MD1, 1) %] ">
<input name="Rank_MD1Position2" id="Rank_MD1Position2" type="hidden" value="[% MaxDiffRankAttValue(MD1, 2) %] ">
<input name="Rank_MD1Position3" id="Rank_MD1Position3" type="hidden" value="[% MaxDiffRankAttValue(MD1, 3) %] ">
…
Â
But it is not working, because the MD questions are empty. There are answers just on the Free format variables, because I hid the MD questions and show just the table with the free format questions. This procedure is ok if I don’t need the Scores and Ranking variables.
I can see 2 ways:
To import the free format variables responses into the MD variables;
Re write the score and ranking script using the free format variables
Â
There is any solution one of those 2 ways?
Â
Thank you,