In this article, I’ll explain How to show and hide fields based on a Choice field selection in ‘New Form’, ‘Edit Form’ and ‘Display Form’ in SharePoint 2013 / 2016 via SPUtility.js?
- Download SPUtility.js.
- Upload the downloaded file (SPUtility.js) to an appropriate place in SharePoint Site like ‘Style Library’.
- Create a Custom list.
- Add a choice field displayed as ‘Drop-Down Menu‘.
- Fill your choices as you need.
- Add the fields that you need to show or hide based on the selected value of choice field.