on 03-10-2010 2:10 PM
Hi,
I want to hide some of the values in drop down based on one text field value.
I have the field called name which has the value A, B, C, D and also one drop down list which has the values 1,2,3,4,5,6. I want to hide the some of the values in drop down based on A or B or C. Let say, If it is A, drop down value should be 1,3,5. If it is B, Drop down value should be 1,2,3,4. Like this for every record.
Can you please help me out.
Thanks
Ram
You get some points even for awarding points from your side to any other user. Because you don´t have a single point then (a) you have never helped a living soul (b) you have never awarded points for the help you get here.
That means you won´t get any more help from my side. And I will add this comment to all your threads to warn other community members. Think about it. Fix it. Or you´re not welcomed here. Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Resolved by own
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Ramesh, you want everybody to explain, but you´re not going to think at least a little for yourself right? Like you didn´t in your last 193 posts and gave back nothing (0 points) to the community. Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use a blank drop down, write a function which has an input parameter, based on the value of the param you will dnyamically populate the drop down. No values will be copied, deleted or anything. You will have the whole list hardcoded in the script and based on the conditions you will put items into the DD or not.
Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So the drop down list is always blank for all items. We have to write the logic in script. Thatswhat you are saying right.
Each line item they should know the what is the status they are in currently. based on that value we populated in drop down they will move to next status.
And also I cannot hardcode the drop down values. They may add some of the status in future. In that case, they have to change the script again which we dont want.
Please help me out.
Thanks
Ram
Why don't you use 2 dependent dropdowns instead of trying to use a TextField and a dropdown.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Robert,
I am trying it in two different way. Please suggest which is the right one and feasible.
1) I have the drop down list which has all the status. I am trying to hide the drop down values based on one text field value for all records.
2) I have collected all the drop down values into table in webdynpro method. Rightnow I have two tables.
one has line items details and another one have drop down values. both tables having common fields.
I have to show second table values for that particular key, move all of them to drop down.
Which is the best and feasible option.
Thanks
Ram
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.