added more documentation for custom form