i have 2 columns in sharepoint
1st column contains 2 choices : Software, Hardware
2st column contains 3 choices : Pending,Approved,N/A
when user select dropdown as Hardware ,then 2nd dropdown should show value automatically as N/A.
how to write code in 2nd dropdown with if condition?