Call form done method from API

Ticket:	#6218