Form interface for virtual-dom