How to get values of fields and put it on an HTML field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 07:25 AM
I have these fields.
Is it possible to have these values to be put in an HTML field on the same form?
Basically inside the < >
Will an onChange script do? Can someone kindly please help me with the script.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 07:40 AM
Hi @MelvinBulan
You can populate the html field as below:
var htmlBody="<p>Location: "+g_form.getDisplayValue('server_location')+ "<br>" + "Manager: "+ g_form.getDisplayValue('manager')+ "<br>" + </p>";// verify the correct backend names of the field
g_form.setValue("field_name",htmlBody);// apply the correct field name
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 07:45 AM - edited 11-28-2022 07:57 AM
Hello Aman,
Do I create an onChange or onLoad client script for this? Since I want it to show only when those fields are filled up. If so then it will run the script.
I have tried it with an onChange, but when I select an option
It wont show up in the description HTML field:
Update: So I tried an onLoad,
It showed up now but I wanted it so that when the "server location" field is selected, it will show up on the description HTML field. Is it possible? Why is using an onChange didn't work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 08:44 AM
Hello @MelvinBulan
From where you are filling server information. From portal or platform view?
Thanks!