on 01-15-2008 10:12 PM
Hello Experts,
Can any let me know or point to a tutorial ?
how I can hide a input field another input field depending on the selected radio button.
The radio button I have are fax and email.
If Fax is selected I want to dispaly input field for fax and vice versa.
Thanks,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your replies.
All this code has to be written in modifyview function of view right?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi raj,
(1)Create two context attribute of type "Visibility".
(a) faxVisible
(b) emailVisible
(2)And bind the "visible" property of inputfields to these attributes.
(3)On radio button selection in the action handler do following thing for fax selection and vice versa.
wdContext.currentContextElement().setFaxVisible(WDVisibility.VISIBLE);
wdContext.currentContextElement().setEmailVisible(WDVisibility.NONE);
Regards,
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raj,
Go through this link
Thanks&Regards
Suresh Kumar T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
create context varriabel type = com.sap.ide.webdynpro.uielementdefinitions.Visibility
on inputfield property Visibility -> set context varriable
on radio button onSelect event
set context varrible = WDVisibility.VISIBLE or WDVisibility.NONE
rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.