Hey, Bill! I'm all into my app, now.... but I'll give the holy javascripture a try ;)
<h1> Some text </h1> - makes a heading.
<br> - breaks line
<img src="http..." width="XX%" /> - make an image from source src
So, we need to construct the rtf field content.
For that, we need to set up a data field and a rich text format (rtf) field.
Then write a trigger (at opening, before display):
// function to replace some characters in a string
function replaceAll(str, find, replace) {
return str.replace(new RegExp(find, 'g'), replace);
}
// get data to transmit
var a=entry().field("data");
// replace all "non-url" symbols, e.g. space=%20
a=replaceAll(a," ","%20"); // do the same thing for other non-url symbols you will use
// form the rtf field contents. Use html
message(toSet);
// set the field content
entry().set("rtf",toSet);
You should be careful with the data field, because many non-letter symbols have to be written in %XX format. For example, space is %20, + is %3B etc.
I guess, you could use the string function to replace such symbols if they are planned to use.
Please, test if it provides correct QR.