form result formatting