You need to sign in to do that
Don't have an account?

Different picklist values depending on user input
Hi,
I have a requirement in which i will have to display different picklist values depending on the value selected by user in a lookup field.
Any idea , how this can be achieved .
Thanks in advance
RJoshi
Hi,
Can you more elaborate that you want to display the pick list values from the existing picklist or just display lookup selected values in the picklist?Please let me know so that we can resolve the problem
Thanks for replying.
I wanted to display picklist values from lookup selceted values.
Thanks,
RJoshi
Hi,
You can have picklist values based on your lookup field as, you have to write a action function in your code and you will have to call JavaScript function of action function on onselect of lookup field then this action will call a controller method in which you will have to add your picklist value in your selectoption list for your picklist based on lookup field value and then rerender your portion that belongs to your picklist field.
You can refer the below code
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.