Sidebar that the information is not displaced,
I am sending an automatic email with the content of a subform for each entry. I would like the photography and content from becoming a single entry that would shift at the same time because if I add a variable to "PHOTO" and a variable to "Text" page breaks give me different positions. How to change my code to make the photo and text are in one sidebar regardless of anything?
CODE
output="";
Foto="";
for each entry in input.R
{
Foto=Foto.replaceAll("viewLinkName","<viewName>");
Foto=Foto.replaceAll("/image/","/image-download/<encryptedKey>/");
Foto=Foto.replaceAll("fieldName","<Image>");
// resize Image
Foto=Foto.replaceAll("img src","img height='100px' src") + "<br>" + "<br>" + "<br>";
Foto="<br>" + Foto + "<br>" + "<br>";
output=output + "Fecha de orden: " + entry.Added_Time + "<br>" + "Status: " + entry.Status + "<br>" + "Pagina de Compra: " + entry.Pagina_de_Compra + "<br>" + "Marca: " + entry.Marca + "<br>" + "Modelo:" + entry.Modelo + "<br>" + "<br>" + "<br>" + "<br>";
}