Liam Mandeville scored in extra time to maintain Chesterfield's chances of reaching the play-offs after a 3-3 draw with Bradford.
Bradford, in third place, took a 3-1 lead with goals from Bobby Pointon, Antoni Sarcevic, and Alex Pattison, but Will Grigg and Mandeville, along with Jenson Metcalfe's goal, secured a draw for Chesterfield.
Bradford went ahead in the 10th minute when Pointon finished a pass from Pattison past Ryan Boot in Chesterfield's goal.
Sarcevic extended Bradford's lead from the penalty spot in the 19th minute after Tom Naylor fouled him inside the box.
Chesterfield reduced the deficit just before halftime as Michael Olakigbe's pass found Metcalfe, who scored with a curled shot from the edge of the box.
Pattison headed in Bradford's third goal shortly after halftime from Tayo Adaramola's cross.
Grigg's goal in the 71st minute set up an intense finale, as he converted a pass from Metcalfe and beat Walker.
Mandeville then leveled the score in the second minute of injury time, slotting the ball into the net after a pass from Olakigbe.