Hi,
sorry, I do not understand this.
What is asked in A1? Obviously not the price of apples, if I only can insert a number from 1 - 10 in each category.
And you should use Expression Manager instead of this INSERTANS stuff, like
under {sum(AP1_Q1_A1*1,AP1_Q1_A2*1.05,AP1_Q1_A3*1.1,AP1_Q1_A4*1.15,AP1_Q1_A5*1.2,AP2_Q1_A1*0.9,AP2_Q1_A2*0.95,AP2_Q1_A3*1,AP2_Q1_A4*1.05,AP2_Q1_A5*1.1)/100*5} €
This you could easily shorten more.
Instead of two questions "AP1" and "AP2" you may use only one "AP" with "micro-tayloring" of the texts, and a random number (0 - 0.1), instead (1 - 2), calculated
{if is_empty(randnumber),(rand(1,2)-1)/10,randnumber}
Knowing that the values of AP2 always are 10% lower than AP1 the above function is only
under {sum(AP_Q1_A1*(1-randnumber), AP_Q1_A2*(1.05-randnumber), AP_Q1_A3*(1.1-randnumber), AP_Q1_A4*(1.15-randnumber), AP_Q1_A5*(1.2-randnumber))/100*5} €
Just an idea.
And "5" resp. 7.5 ,... are the fixed prices? I thought they were entered somewhere?
And where is the array you are looking for?
You see, without any question text, without any explanation, how can I help?
Here I send you an example how to create your array, two different ways.
Anyway, you see how you calculate numbers, how you preset the array.
Joffm