What do I need to do if I want to create a text field that can only be active after a checkbox has been ticked?
I have a text field A and checkbox B with OK_CODE CHECKBOX.
In PBO i've set the screen-input for text field A to '0' meaning that I dont want A to receive any input as yet. Only after I've ticked checkbox B then I want A can receive input. I've tried to set at PAI where when the OK_CODE = CHECKBOX, loop at screen and if screen-name = 'A' then i'll set screen-input for A as 1.
However when I tried to run, the text field A still cannot receive any input. My code at PAI as below:
if ok_code = 'CHECKBOX'.
loop at screen.
if screen-name ='A'.
screen-input = '1'.
please help. Thanks