Hi @sammybridge ,
in fact, these are two questions 🙂
First, i had a similar request from a customer and build the text in a webtemplate from the field adx_summary (yes, its a misuse) like
<div id="mytexttobemoved">
{{ page.adx_summary | replace: "%companyname%",currentcompanyname| replace: "%conditionsofsale%",currentconditionsofsale }}
</div>
Of course, you have to find the current values from the referenced entities or whereever. You could also use a snippet as the source for the text, then you do not have to hijack the adx_summary field. Just place as placeholder in the text %companyname% and the other variable fields. You will get the story 🙂
(i like to do this in the backend as it is faster than doing it in the frontend with jkavascript. The user will alwys see a change in the text then...)
Second: having this in the backend, you have to move the div where you want it as it is hard to have additional info in the form itself.
so, something like
$("#mytexttobemoved").prependTo("targetselectortomoveto");This is really ugly.
If there is only one inputelement you could also do this as an additional info in the adx_copy field.
In fact, i changed the label of the checkbox for that kind of purpose, as it is diretly at the corresponding inputelements.
(usually, i have no radios on my pages, so i do not know, how adx PowerAppPortals renders them in the dom, just look at it and you will se whats going on 🙂 )
Hope this helps and points in a good direction,
Christian