Computed Text
CompletedI would like to have a design element for computed text. In this element I should be able to compute the content (for example concatenate different fields with labels, see below)
"label 1: " + fieldcontent(field1) + Char10
"label 2: " + fieldcontent(field2)
regards
Detlev
-
Official comment
Hi Detlev Schümann,
with the update from January 19, 2023 you can use placeholders and other expressions in the rich text control placed on forms.
https://my.skybow.com/hc/en-us/articles/7401053562268-Solution-Studio-Update-19-01-2023
-
With some little magic of JavaScript this could be accomplished.
Just add a rich-text field for your form and add some source-code like this<p><span id="lable1"> </span></p>
Make sure, that you assign a unique id to the span tag ... 😉
Then you can add some form-load action
which is basically just a JavaScript, which is setting the text for the span-tag you created previously
jQuery("#lable1").text("Label: " +[[field1]] + "/" + [[field1]] );
Of course you can insert HTML-markup as well (including line-breaks and stuff); I just wanted to make it simple here.
1 -
Great tip. Thank you.
0
Please sign in to leave a comment.
Comments
3 comments