cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

mks html in a trigger

SM_9794770
7-Bedrock

mks html in a trigger

Hi

is it possible in ptc integrity trigger to programmatically through trigger setfieldvalue a mks html text ?

i.e programmitcally set a fieldvalue with mks formatted text ?

 

Attempt to create a table in the richtext field with table ?

setFieldValue(myField,"<table border="1" style="border-collapse: collapse; width: 100%; height: 28px;">
<tbody>
<tr style="height: 14px;">
<td style="width: 50%; height: 14px;"><b>test</b></td>
<td style="width: 50%; height: 14px;"><b>test123</b></td>
</tr>
<tr style="height: 14px;">
<td style="width: 50%; height: 14px;">test</td>
<td style="width: 50%; height: 14px;">test123</td>
</tr>
</tbody>
</table>"); 

1 REPLY 1

ok found it myself this works 

for example

var test = "<!-- MKS HTML --><table border=1><tbody><tr><td><b>test</b></td></tr></tbody></table>";

Top Tags