A widget is a reuseable component which make up the functionality of a portal page and allow users to interact with the service portal and displays information. There are six parts to a widget: HTML, ...
Description: Write an onChange Client Script for the "category" field. If the category is "Hardware", make the "sub_category" field visible; otherwise, hide it.