Cleaned up form retrieval for configtask.