Uipath form dropdown

Hi All,
I created form task in long running process, which contains a dropdown list, based on the dropdown value, I need to enable some of the fields inside the same form, How to enhance the field logic for dropdown list ? how I can use selected value while write the logic in form ?

I referred this link for write logics, any sample workflow or demo code for solve this ?
thanks in advance

@lakshman @Anthony_Humphries @ovi

JavaScript will work on Dropdown select option.

Event will be “Onchange” in dropdown.

Onchange event will trigger JavaScript code and get the selected value and same event we can disable and enable other fields in form.

Thank You!

Check this https://youtu.be/qp3ma_WyKcc though its paid it will help you