Lindfield netted a late winner for the home side to keep the Cobblers looking over their shoulders at the League Two relegation zone which they lie two points above.
Brett Williams had earlier equalised Stanley's opener within a minute of entering the field but Aidy Boothroyd's men failed to make progress towards the points tally that the manager has in mind to achieve safety this season.
Reaction from the manager to follow on Cobblers Mad.