When customizing the form make sure to do the following:
1. Navigate to Customization > Lists, Records, & Fields > Record Types> NS CD Content> Forms tab
2. Edit the custom form set as preferred.
3. Click Custom Code tab then add these functions:
a. Page Init Function = pageInit
b. Field Changed Function = fieldChanged
4. Save the record.