add some simple API to get the current form