how to Set Rich Text (catalog variable) Value in client script? g_form.setValue() not work.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2021 05:36 AM
Hi, I am trying to create dynamic table using Rich Text variable on catalog form, plz suggest on how to Set Rich Text (catalog variable) Value in client script? g_form.setValue() not working.
Labels:
- Labels:
-
Scoped App Development
11 REPLIES 11
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2024 04:39 AM
Worked for me.
g_form.setLabelOf("equipment_link","<a target='_blank' href="+newValue+">"+newValue+"<\a>");
Changes the rich text label to a dynamic link
Changes the rich text label to a dynamic link
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2022 05:31 AM
Good morning Håkon,
The portal view works with g_form.setLabelOf('<field>', '<value>'). But it won't display in the platform. Any advice to achieve this in the platform view.
Regard,