Excuse me, how to get the field information in the template?

I tried many ways to read the information about the {{文字}} field, but all failed.
As shown in the figure below.
I am a rookie.
This will be a great help if you have any tips.
o(∩_∩)o

I think the problem might be that you are using document.getElement instead of document.getElementById

E.g. this kind of code seems to work fine on my computer:

<div id="field_Id"></div>
<script>
 document.getElementById("field_Id").innerHTML = "{{Field_Name}}";
</script>
3 Likes

You are right.
It works.
Thank you for taking the time to answer my question.
Have a great day.
^o^

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.