i have a form, it has a field named pag_terid and it field has a link type capture named cap_PAG_TERID.
i have in event onload this code:
if ({pag_ttalpgar} > 0) {
sc_field_readonly({pag_terid}, ‘on’);
} else {
sc_field_readonly({pag_terid}, ‘off’);
}
The field is set readonly with it conditional, but when the field is set to readnonly ON, the icon of link cap_PAG_TERID not is disabled
and then a user can changes the value trought of this link.
i tried with this macro but it do not works. sc_btn_display (‘cap_PAG_TERID’, ‘off’);
Its possible hide/disable this link?