Hi
Any chance you can help with this one?
Jan recently showed us how to use a calculation to add html tags either side of a shippet of html content stored in a database, so that we can display the html in a servoy client.
But I don’t seem to be getting the code right?
return “”%htmltext%“”;
“htmltext” is the name of our column containing the html code with out html tags. Eg:
Test content
The problem seems to be that the “htmltext” does not concatonate..
All that displays in the client is: NaN
I’ve tried
return “”%htmltext%“”;
return “”%%htmltext%%“”;
And many more variations.. Can you see where we are going wrong?
your column should hold the tags in the following format:
"<h1 class='style2'>Test content </h1>"
```.
You have to use hanging comma's within the string to get it right.
Remember to tick the displayTags property of the column that shows the html.
[/code]
do you know if this method is the best one to use to mail merge into the parth of an image in order to construct a url from different parts of a database?