hooking outputs into form (for pollyfill)