how to Set Rich Text (catalog variable) Value in client script? g_form.setValue() not work.

Avinash_Patil1
Giga Guru

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.

11 REPLIES 11

Worked for me.

g_form.setLabelOf("equipment_link","<a target='_blank' href="+newValue+">"+newValue+"<\a>");
Changes the rich text label to a dynamic link

Let
Tera Contributor

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,