In Suitelet : i wanted to show an image on the sel...
# suitescript
s
In Suitelet : i wanted to show an image on the selection of radio button. I kept the radio buttons and a
INLINEHTML
field to show the image (in suitelet) . And attached a client script to the suitelet and wrote a
fieldchange
function to get the value of the radio and based on the selection i have to set the
INLINEHTML
field with the image src link. but when i try to set the value of the inlinehtml field using
currentRec.setValue('inlinefieldid', <img code>).
The value is not setting in the inlinehtml field. How do i set the inlinehtml field in the client script? or should i do something different?
b
cant use suitescript for inline html fields. it doesnt have the dom elements that suitescript expects to exists on fields