Is there a way to get the position/index of attachments from an image question only set to Multiline in Report Templates?

882
1
10-17-2021 08:01 PM
pat_algura
New Contributor III

I have a feature report template that needs to display photos side-by-side. I have two columns where I want the photos to be positioned on each cell. The image question is not inside a repeat - just set to multiline.

I tried using getValue: "position", but it looks like it's only supported for questions inside a repeat. Is there any workaround that I could do to do the same?

palgura_j_0-1634526043435.png

Thanks,

Patricia

 

0 Kudos
1 Reply
Alison_Gou_
New Contributor III

HI @pat_algura ,

Can you try the following to see if it meets your request?

1, insert a table in template (and I see you may have already done that);

2, place field names of image question and size in each cell of table like this:

${photo1 | size:460:0}

 

${photo2 | size:460:0}

 

${photo3 | size:460:0}

 

${photo4 | size:460:0}

 

${photo5 | size:460:0}

 

${photo6 | size:460:0}

 

 

maybe try from here and see what's missing for your result.

 

Regards,

Alison

0 Kudos