improved shwFormErorrs helper