AnsweredAssumed Answered

From Logic Hook change field html

Question asked by stalxed stalxed on Jul 23, 2014
Latest reply on Jul 25, 2014 by paperless
On logic hook I tires change text on field with type html.
I try this ways:
<?php

class Test123
{
    function after_retrieve_method($test, $event, $arguments)
    {
        $test->test_html_type = '333333';
       
        $test->field_name_map['test_html_type']['default'] = '33333';
        $test->field_name_map['test_html_type']['default_value'] = '33333';
        $test->field_name_map['test_html_type']['value'] = '33333';
        $test->field_defs['test_html_type']['default'] = '33333';
        $test->field_defs['test_html_type']['default_value'] = '33333';
        $test->field_defs['test_html_type']['value'] = '33333';
    }
}
Event after_retrieve.
With another fields its work fine!
But not with field with type html!
How I can change value on field html on logic hook?

Outcomes