on 04-15-2013 2:44 PM
Hi Team,
Need small help.
I have 3 radio button and a text box field. I want to make text box input-enable only when 3rd radio button is clicked, else , it should be input disabled.
Please suggest.
Warm Regards
Krishan
Hi Krishnan,
create a attribute of type wdy_boolean and bind the enabled property of the textbox with this attribute. on select of any radio button manipulate the value of this attribute using the onSelect event of the radio button.
thanks and regards,
narayan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krishan,
Create a variable of type wdy_boolean in the respective node.
Bind this attribute to the enable property of the text box
Provide the logic based on the selection of radio button.
Suppose if there are three buttons namely rb1,rb2 and rb3 and the attribute TB_ENABLE.
if rb3 is selected.
tb_enable = abap_false.
endif.
Hi,
You should make input field of your 3 text buttons, bind those with a context variable that would be adapted by your method behing the change of selection of your radiobuttons.
For example:
R1 checked --> text1 enabled, text2 disabled, text3 disabled
Best regards,
Jonathan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.