@Fulljames
Okay...so if you are collecting EventName_txt for example, in your collection (which is a control...not a value) for the EventName column, then you need to reference that in your formula.
That is why you are getting the screen values and not what is in the collection...because you are not referencing the value in the collection.
So, first, your collect statement line in the formula you have should be this:
Collect(FormResponses1,
{EventName: EventName_txt.Text,
StartDate: StartDate_pkr.Text,
EndDate: EndDate_pkr.Text,
Name: Name_txt.Text,
TelephoneNumber: Tel_txt.Text
}
);
And your looping formula this:
If(Connection.Connected,
ForAll(FormResponses1,
OfflineEventDoc.Run(Email_txt.Text, Name_txt.Text,
"<!DOCTYPE html>
<html>
<head>
<title>Event Doc</title>
</head>
<body>
<p>
Event Name: " & EventName & "<br><br>
Start Date: " & Text(StartDate, ShortDate) & "<br><br>
End Date: " & Text(EndDate, ShortDate) &"<br><br>
Name: "& Name &"<br><br>
Telephone Number: "& TelephoneNumber &"<br><br>
</p>
</body>
</html>
")
)
)