I 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)
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.
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
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.