code added in form3, 4, 5, 7 .html pages