Added getForm function

Gets the current Form element instance