function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Bhargav krishna 1Bhargav krishna 1 

unable to update the field values when picklist value changes

Hi every one,
I'm displaying/hiding the fields based on the picklist values. In edit page when i change the picklist value the data in the previous fields is not updating. can anyone help me over here.

Thanks in advance,
regards,
Bhargav.
GauravGargGauravGarg
Hi Krishna,

Do you want to clear out the fields after changing picklist values or need to retaing the values??

Thanks,
Gaurav
Bhargav krishna 1Bhargav krishna 1
Hi Gaurav,
Thanks for your replay. Yes i want to clear the fields after the changing the picklist values.
GauravGargGauravGarg
Hi Krishna,

You can clear out values by calling Controller method, i.e. call controller clearValue() method at picklist onChange() event. 

If you still face some issues, let me know or contact me email:gauravgarg.nmims@gmail.com or skype: gaurav62990
Thanks
Gaurav
Bhargav krishna 1Bhargav krishna 1
Thanks Gaurav.