AnsweredAssumed Answered

Is it possible to render original HTML element from customCode?

Question asked by community-support on Jan 13, 2014
Latest reply on Aug 19, 2018 by Gill Saab
Hello everyone!

Let's say, we have 'editviewdefs.php' metadata file for some module. There is definition for some dropdown field:

array (

     'name' => 'some_dropdown',

     'studio' => 'visible',

     'label' => 'LBL_MY_LABEL',

),

The question is: is it possible to define 'customCode' for it that will render original dropdown? It may be suitable when I need to display original dropdown on some condition and custom element otherwise. In this case it may look something like this:

array (

     'name' => 'some_dropdown',

     'studio' => 'visible',

     'label' => 'LBL_MY_LABEL',

     'customCode' => '{if $my_value == 'right'}{$my_message}{elseif}!!! HOW TO DISPLAY ORIGINAL  HERE?!!!!{/if}'

),

Thanks in advance!

(from elgris)

Outcomes