Initial functions

Added support for textbox, checkbox, radio button