cancel
Showing results for 
Search instead for 
Did you mean: 

Disabling Input Fields and select options

Former Member
0 Kudos

Hi gurus,

I have seen many posts regarding disbling select option but none of them work.

My problem is i have created few input fields and few select options dynamically . i even have 2 radio buttons on the screen.

I want when user clicks on one of the button then out of 20 fields ( 5 input and 15 select options) 1 input field and one select option should be disabled.

Please remember the fields are created dynamicaly with add_selection_field and add_parameter_field methods.

upd_select_option dont work.

please suggest me the way how to do it.

all the fields are dynamic expect that radio buttons. and i have created the screen on WDDOMODIFYVIEW.

Thaks alot

i am in need very badly so plese respond quickly.

Thanks once again

Accepted Solutions (0)

Answers (1)

Answers (1)

Lukas_Weigelt
Active Contributor
0 Kudos

Hi,

Those UI-Elements you dynamically add in runtime, do they have event handlers?

You could get a global reference of the View into an CC-Attribute from WDDOMODIFYVIEW. Then, at the event of the user clicking on one of the UI-Elements cast down the UI Tree and alter the required UI element according to your requirements with the respective CL_WD_<UI_Element> Class.

This would work if I understood your requirements correctly; which is dynamically altering UI-elements on user action, am I correct?

regards, Lukas