You need to sign in to do that
Don't have an account?
mac admin
How to rest the input fields when picklist value changes
HI all,
I have created four custom vfpages for Force.com Sites. I'm redirecting the pages with methods in custom controllers. I was displaying the fields based on picklist value. When I'm redirecting to previous page, after clicking previous button If I change the picklist value then firstly given values are not changing to null.
Can any one help me over here.
Thanks in advance.
Regards,
mac.
I have created four custom vfpages for Force.com Sites. I'm redirecting the pages with methods in custom controllers. I was displaying the fields based on picklist value. When I'm redirecting to previous page, after clicking previous button If I change the picklist value then firstly given values are not changing to null.
Can any one help me over here.
Thanks in advance.
Regards,
mac.
Use on change event on that picklist field in VF page and call a method of controller class which will be responsible for resetting the values to null and then rerender that particular part(The part which you want to refresh).
Let me know if this helps :)
Thanks!
Can you please give some sample example. It will help me how ot reset the input fields in the page block section.
Thanks in advance.
Regards,
mac.