Hi Hasan,
I believe the problem is that I cannot modify the text input field. Also, I used the code from the link you pasted, but the field itself did not get changed (only the label). I basically entered this code:
* CREATE OBJECT lv_bee.
* IF iv_element_name = 'inputfield'.
* lv_bee->add_html( html = |<div style="border-color:{ lv_colour };border-width:3px;border-style=solid;"><script for="//CREATEFOLLOWUP/DESCRIPTION" event=onblur type="text/javascript"></script>| level = 1 ).
* ENDIF.
* lv_bee->add_bee( bee = iv_element_bee level = 2 ).
* lv_bee->add_html( html = '</div>' level = 1 ).
* ev_replacement_bee = lv_bee.
Doesn't work... there's no colour update, there's no change in the border style nor in the JS event.
Cheers,
Sebastian