+ Start a Discussion
Priya MishraPriya Mishra 

show and hide fields based on the field selection in lightning.

Hi All,

I have to display the fields based on the piclist selected value using lightning component.
example:" Patient envolvment" (picklist) is selected as yes it has to display the some fields like date, Additional contact Name and so on and when  " Patient envolvment" is no fields should hide. and once data is filled in the fields record should be created.
pls guide me how we can create in the lightning component.
this is bit urgent.
Thanks in advance.
PriyaPriya (Salesforce Developers) 
Hi Priya,

Please refer to the below article 
https://salesforce.stackexchange.com/questions/240059/how-to-display-hide-fields-in-lightning-component-using-javascript .