updating demo form to use formBase class