Hi everyone,
I'm just wondering if there isn't a way to do this without additional Javascript. I've tried to use the "exclusive answer" option with "{self.sq_5}" (where rows are a-k, columns 1-5 and column 5 is the "none of these" option). Although this doesn't work because it results in
Code:
is_empty(111X2222X33333 { E1_a_5, E1_b_5, E1_c_5, E1_d_5, E1_e_5, E1_f_5, E1_g_5, E1_h_5, E1_i_5, E1_j_5, E1_k_5 } .NAOK)
for EACH row instead of
Code:
is_empty(111X2222X33333a5.NAOK)
for row "a" until
Code:
is_empty(111X2222X33333k5.NAOK)
for row "k".
But maybe another EM selector would do the trick and just return the row ID, so we could use it like
Code:
Exclusive option: {thisrow.code}5
?
I know the solution with JS is pretty neat, but avoiding editing the template.js too much would be even better and solid for the future. After all, I want my colleagues to do this stuff without messing with my beautifully structured templates...
All the best!
Jonsen