HTML in Valuelist and WC

Good morning from Gran Canaria.

I have a valulist that shows a calculated field. That field is just an HTML string that formats some fields, like:

function myStringToShow(){
   return '<html><table><tr><td><b>'+myfirstField+'</b></td><td>'+mySecondField+'</td></tr></table></html>';
}

when working with smartClient works fine, but with webClient it shows the HTML string. I have marked the displayTags property but still does not work.

Might this be a bug?

Thanks in advance

jasantana:
Good morning from Gran Canaria.

I have a valulist that shows a calculated field. That field is just an HTML string that formats some fields, like:

function myStringToShow(){

return ‘

’+myfirstField+‘’+mySecondField+‘
’;
}




when working with smartClient works fine, but with webClient it shows the HTML string. I have marked the displayTags property but still does not work.

Might this be a bug?

Thanks in advance

I guess in Web Client the code is escaped. In which field type do you use the valuelist ? You could add an issue about this.

Hi Laurian,

lvostinar:
I guess in Web Client the code is escaped. In which field type do you use the valuelist ? You could add an issue about this.

The field type is bigint. It´s a foreign key and I need the valuelist to fill a combobox, eventhough it might be used to fill a radiobutton as well.

I will create a case if you think that it cannot be solved with code.

Thanks

A combobox in the webclient is a