0

My Requirement is to display any particular text eg: 'XYZ' based on the RTF Field UE_GEN_DETAILEDDESCRTF, when UE_GEN_DETAILEDDESCRTF is not null its should display 'XYZ'. here UE_GEN_DETAILEDDESCRTF return some HTML values, to get the actual value i used this tag. this works fine.

However my requirement is to use the html2fo tag with condition. Below are the options tried but no luck.

enter image description here

1 Answers1

0

Option 1.

<?xdofx:if element_condition then result1 else result2 end if?>
       <?xdofx:if SOME_FIELD_ELEMENT=100 then 'something' else 'something else' end if?>

Option 2.

<?xdoxslt:ifelse(condition,true,false)?>
      <?xdoxslt:ifelse(SOME_FIELD_ELEMENT=21,'something',’something else’)?>
d r
  • 3,848
  • 2
  • 4
  • 15