extract data from htm form