Changed method of retrieving form

Change-Id: I9281cc7b196892d4a1694910bed1b1e2464d37f5