Added a sample of what the form widget API should look like.