added site-selection code
added site-selection code
handling radio, checkbox and select field types
handling radio, checkbox and select field types