In this tutorial, I’ll show how to build a custom form control for Sitefinity 4.0 from scratch, while showing each step of the process and explaining some of the main gotchas you may encounter on the way. You can download the final project source code here. The tutorial is fairly long and is broken up into 7 parts in order to make it more digestible:

Part 1: Intro to the Form Module

Part 2: Setting up the Project

Part 3: Populate the Control Template (NamedTextBox.ascx)

Part 4: Populate the Client Script File (NamedTextBox.js)

Part 5: Populate the Class File ...